package com.ruoyi.system.outto.goods.impl;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.model.domain.AccountInfo;
import com.ruoyi.system.model.domain.InfoImg;
import com.ruoyi.system.model.domain.SalePartner;
import com.ruoyi.system.model.mapper.AccountInfoMapper;
import com.ruoyi.system.model.mapper.AccountLableMapper;
import com.ruoyi.system.model.mapper.InfoImgMapper;
import com.ruoyi.system.outto.core.LCConstant;
import com.ruoyi.system.outto.core.MapUntils;
import com.ruoyi.system.outto.dto.HttpUtil;
import com.ruoyi.system.outto.game.CommonApi;
import com.ruoyi.system.outto.goods.YUDUTESTAPI;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.http.entity.ContentType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.*;

/**
 * @Author sdq
 * @Date 2022/8/31 22:28
 */
@Slf4j
@Service
public class YUDUTESTAPIImpl implements YUDUTESTAPI {
    @Resource
    private InfoImgMapper infoImgMapper;
    @Resource
    private AccountInfoMapper accountInfoMapper;
    @Value("${desc.title}")
    private String descTitle;
    @Autowired
    private CommonApi commonApi;

    @Resource
    private AccountLableMapper accountLableMapper;

    private SalePartner sa;

    static String appid = "1";
    static String appSecret = "secret";

    private Map<String, Object> paramsImg(AccountInfo accountInfo) {
        Map<String, Object> paramss = new TreeMap<>();
        InfoImg infoImg = new InfoImg();
        infoImg.setInfoId(accountInfo.getId());
//        infoImg.setType(Constants.STR_1);
        List<InfoImg> infoImgs = infoImgMapper.selectInfoImgList(infoImg);
//        Map map1=new HashMap();
        List<JSONObject> list = new ArrayList<>();
        JSONObject map = null;
        if (infoImgs.size() > 0) {
            for (InfoImg infoImg1 : infoImgs) {
                map = new JSONObject();
//                map.put("id", accountInfo.getId());
                map.put("name", infoImg1.getFileName());
                map.put("url", infoImg1.getImgUrl());
                map.put("type", infoImg1.getType());
                list.add(map);
            }
        } else {
//            map.put("id", accountInfo.getId());
            map = new JSONObject();
            map.put("name", "虞都科技.jpg");
            map.put("url", LCConstant.defaultImg);
            map.put("type", "1");
            list.add(map);
        }
//        map1.put(accountInfo.getId(),list);
        paramss.put(String.valueOf(accountInfo.getId()),list);
        return paramss;
    }

    private Map<String, Object> params(AccountInfo accountInfo) {
        Map<String, Object> paramss = new TreeMap<>();
        if (accountInfo.getType().contains("王者荣耀")) {
            wzry(accountInfo, paramss);
        } else if (accountInfo.getType().contains("和平精英")) {
            hpjy(accountInfo, paramss);
        } else if (accountInfo.getType().contains("CF端游")) {
            cyhx(accountInfo, paramss);
        } else if (accountInfo.getType().contains("CF手游")) {
            qzwz(accountInfo, paramss);
        } else if (accountInfo.getType().contains("英雄联盟")) {
            yxlm(accountInfo, paramss);
        } else if (accountInfo.getType().contains("原神")) {
            ys(accountInfo, paramss);
        } else if (accountInfo.getType().contains("火影忍者")) {
            hyrz(accountInfo, paramss);
        }
        String extractTel = "";
        if (StringUtils.isNotEmpty(accountInfo.getExtractTel())) {
            extractTel = accountInfo.getExtractTel();
//            paramss.put("securityPhone", accountInfo.getExtractTel());
        }
        String sinNum = "";
        if (StringUtils.isNotEmpty(accountInfo.getSinNum())) {
            sinNum = accountInfo.getSinNum();
        }
        paramss.put("saleState", accountInfo.getSaleState());
        String importantRemark = extractTel + sinNum;
        if (StringUtils.isNotEmpty(importantRemark)) {
            if (importantRemark.length() > 990) {
                importantRemark = importantRemark.substring(0, 990);
            }
            paramss.put("importantRemark", importantRemark);
        }
        paramss.put("problemDes", accountInfo.getNote() == null || accountInfo.getNote().equals("") ? "无" : accountInfo.getNote());
//        paramss.put("downDes",sinNum);
        if (StringUtils.isNotEmpty(accountInfo.getExtractAccount())) {
            paramss.put("accountNumber", accountInfo.getExtractAccount());
        }
        if (StringUtils.isNotEmpty(accountInfo.getExtractPwd())) {
            paramss.put("accountPassword", accountInfo.getExtractPwd());
        }
        paramss.put("thirdId", accountInfo.getId());
        String des = "";
        if (StringUtils.isNotEmpty(accountInfo.getDes())) {
            if (accountInfo.getDes().length() > 200) {
                des = accountInfo.getDes().substring(0, 199);
            } else {
                des = accountInfo.getDes();
            }
        } else {
            des = "无";
        }

        paramss.put("title", des);
        if (StringUtils.isNotEmpty(accountInfo.getTitleImg())) {
            paramss.put("titleImg", accountInfo.getTitleImg());
        }
        paramss.put("price", accountInfo.getPrice());
        paramss.put("des", accountInfo.getDes() == null || accountInfo.getDes().equals("") ? "无" : accountInfo.getDes());
        InfoImg infoImg = new InfoImg();
        infoImg.setInfoId(accountInfo.getId());
//        infoImg.setType(Constants.STR_1);
        List<InfoImg> infoImgs = infoImgMapper.selectInfoImgList(infoImg);
        List<JSONObject> list = new ArrayList<>();
//        Map<String,Object> map = null;
        JSONObject jsonObject = new JSONObject();
        if (infoImgs.size() > 0) {
            for (InfoImg infoImg1 : infoImgs) {
                jsonObject = new JSONObject();
                if(infoImg1.getType().equals("1")) {
                    jsonObject.put("name",infoImg1.getFileName()==null||infoImg1.getFileName().equals("")?"虞都科技.jpg":infoImg1.getFileName());
                    jsonObject.put("url",infoImg1.getImgUrl()==null||infoImg1.getImgUrl().equals("")?LCConstant.defaultImg:infoImg1.getImgUrl());
                }else{
                    paramss.put("videoUrl",infoImg1.getImgUrl());
                    paramss.put("videoName",infoImg1.getFileName());
                }
                list.add(jsonObject);
            }
        } else {
            jsonObject = new JSONObject();
            jsonObject.put("name", "虞都科技.jpg");
            jsonObject.put("url", LCConstant.defaultImg);
            list.add(jsonObject);
        }
        paramss.put("urlArr",list);
        System.out.println(JSONObject.toJSONString(list));
        return paramss;
    }

    public Map<String, Object> hyrz(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 10l);
        paramss.put("gameType", "0");
        if (accountInfo.getRegional().contains("苹果")) {
            paramss.put("systemId", 42197l);
        }
        if (accountInfo.getRegional().contains("安卓")) {
            paramss.put("systemId", 42196l);
        }
        if (accountInfo.getRegional().contains("Q")) {
            paramss.put("carrierId", 42198l);
            paramss.put("groupId", 42200l);
            paramss.put("serverId", 42359l);
        }
        if (accountInfo.getRegional().contains("WX")) {
            paramss.put("carrierId", 42199l);
            paramss.put("groupId", 42205l);
            paramss.put("serverId", 42358l);
        }
        paramss.put("f1", accountInfo.getHeroes() == null || accountInfo.getHeroes().equals("") ? 0 : accountInfo.getHeroes());
        paramss.put("f2", accountInfo.getSkins() == null || accountInfo.getSkins().equals("") ? 0 : accountInfo.getSkins());
        String vdengji = "V1=42343,V2=42344,V3=42345,V4=42346,V5=42347,V6=42348,V7=42349,V8=42350,V9=42351,V10=42352,V11=42353,V12=42354,V13=42355,V14=42356,V15=42357";
        String vdj = biGetFirst(vdengji, accountInfo.getDes());
        if (StringUtils.isNotEmpty(vdj)) {
            paramss.put("f3", vdj);
        } else {
            paramss.put("f3", "42360");
        }
        String srenzhe = "白面具=42207,仙人兜=42208,秽土扉间=42209,秽土斑=42210,秽土水门=42211,豪杰自来也=42212,秽土鼬=42213,佩恩超=42214,大野木=42215,仙人自来也=42216,须佐鼬=42217,面具男=42218,宇智波斑=42219,四代艾=42220,长门=42221,佩恩=42222,千手扉间=42223,千手柱间=42224,波风水门=42225,纲手=42226,自来也=42227,大蛇丸=42228,金角银角=42229,鬼灯幻月=42230,猿飞日斩=42231,秽土猿飞=42232,二代土影无=42233,百豪纲手=42234,秽土半藏=42235,罗砂=42236,秽土柱间=42237,三代艾=42239,忍战带土=42240,木叶创立斑=42241,秽土三代风影=42242,死门凯=42243,忍战大野木=42244";
        String srz = biGetTwo(srenzhe, accountInfo.getDes());
        if (StringUtils.isNotEmpty(srz)) {
            paramss.put("f4", srz.substring(1));
        }
        String arenzhe = "须佐佐助=42265,暴怒带土=42266,晓大蛇=42267,药师兜=42268,惊门凯=42269,忍战迈特凯=42270,忍战黄土=42271,鲛肌融合鬼鲛=42272,神威卡卡西=42273,仙人鸣人=42274,九尾鸣人=42275,鹰小队佐助=42276,新春鼬=42277,新春小南=42278,新春水门=42279,泳装小南=42280,泳装照美冥=42281,七夕阿斯玛=42282,加藤断=42283,武士再不斩=42284,秽土迪达拉=42285,晓蝎=42286,忍战卡卡西=42287,博人猿飞=42288,晓角都=42289,黑土=42290,千代十人卫=42291,忍战我爱罗=42293,地陆=42294,鸡佐=42295,忍战丁次=42296,三船=42297,百豪小樱=42298,忍战勘九郎=42299,五代水影照美冥=42300,绝=42301,继承猿飞=42302,达鲁伊=42303,志村团藏=42304,奇拉比=42305,角都地怨虞=42306,小南=42307,宇智波止水=42308,干柿鬼鲛=42309,猿=42310,飞阿斯玛=42311,迈特凯=42312,百机操演蝎=42313,蝎=42314,迪达拉=42315,再不斩=42316,秽土阿斯玛=42317,卡卡西=42318,疾风我爱罗=42319,飞段=42320,角都=42321,死段=42322,宇智波鼬=42323,忍战天天=42324,新春止水=42325,武士扉间=42326,忍战奇拉比=42327,夏日卡卡西=42328,恶灵之影飞段=42329,阿飞=42330,三忍之师猿飞=42331,青年水门=42332,面麻=42333,不风=42334,博人达鲁伊=42335,侠隐江湖照美冥=42336,新春迪达拉=42337,青年艾=42338,青年三船=42339,晓飞段=42340,漂泊佩恩=42341";
        String arz = biGetTwo(arenzhe, accountInfo.getDes());
        if (StringUtils.isNotEmpty(arz)) {
            paramss.put("f5", arz.substring(1));
        }
        return paramss;
    }

    public Map<String, Object> ys(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 4l);
        paramss.put("gameType", "0");
        paramss.put("systemId", "42055");
        if (accountInfo.getRegional().contains("官服")) {
            paramss.put("carrierId", "41551");
            paramss.put("groupId", "41553");
            paramss.put("serverId", "41716");
        } else {
            paramss.put("carrierId", "41550");
            paramss.put("groupId", "41555");
            paramss.put("serverId", "41717");
        }
        if (accountInfo.getLevel().contains("未绑定邮箱")) {
            paramss.put("f2", "39117");
        } else if (accountInfo.getLevel().contains("邮箱已实名")) {
            paramss.put("f2", "39119");
        } else if (accountInfo.getLevel().contains("邮箱未实名")) {
            paramss.put("f2", "39118");
        }
        paramss.put("f3", "39118");
        return paramss;
    }

    public Map<String, Object> yxlm(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 5l);
        paramss.put("gameType", "1");
        String daqu = "教育网专区=41765&41764,艾欧尼亚=41561&41593,祖安=41562&41593,诺克萨斯=41563&41593,班德尔城=41564&41593,皮尔特沃夫=41565&41593,战争学院=41566&41593,巨神峰=41567&41593,雷瑟守备=41568&41593,裁决之地=41569&41593,黑色玫瑰=41570&41593,暗影岛=41571&41593,钢铁烈阳=41572&41593,水晶之痕=41573&41593,均衡教派=41574&41593,影流=41575&41593,守望之海=41576&41593,征服之海=41577&41593,卡拉曼达=41578&41593,皮城警备=41579&41593,比尔吉沃特=41581&41594,德玛西亚=41582&41594,弗雷尔卓德=41583&41594,无畏先锋=41584&41594,恕瑞玛=41585&41594,扭曲丛林=41586&41594,巨龙之巢=41587&41594,男爵领域=41588&41594,艾欧尼亚=41596&41593,峡谷之巅=41597&41595";
        String qufu = biGeTLOL(daqu, accountInfo);
        if (StringUtils.isNotEmpty(qufu)) {
            paramss.put("groupId", qufu.split(",")[1]);
            paramss.put("serverId", qufu.split(",")[0]);
        }
        if (StringUtils.isNotEmpty(accountInfo.getLevel())) {
            if (accountInfo.getLevel().contains("包人脸")) {
                paramss.put("f1", "39496");
            } else if (accountInfo.getLevel().contains("无二次")) {
                paramss.put("f1", "39497");
            } else if (accountInfo.getLevel().contains("有二次")) {
                paramss.put("f1", "39494");
            } else {
                paramss.put("f1", "39494");
            }
        } else {
            paramss.put("f1", "39494");
        }
        String duanwei = "黑铁=39501,青铜=39502,白银=39503,黄金=39504,铂金=39505,钻石=39506,大师=39507,宗师=39508,王者=39509";
        String dw = biGetFirst(duanwei, accountInfo.getDes());
        if (StringUtils.isNotEmpty(dw)) {
            paramss.put("f2", dw);
        } else {
            paramss.put("f2", "39500");
        }
        paramss.put("f3", accountInfo.getHeroes() == null || accountInfo.getHeroes().equals("") ? "0" : accountInfo.getHeroes());
        paramss.put("f4", accountInfo.getSkins() == null || accountInfo.getSkins().equals("") ? "0" : accountInfo.getSkins());
        paramss.put("f5", "0");
        paramss.put("f6", "39512");
        String xianding = "至死不渝=39514,万夫莫开=39515,黑夜使者吸血鬼=39516,拉莫斯国王=39517,银白审判天使=39518,庆典女皇凤凰=39519,战熊骑士=39520,守护者雕像=39521,诸神的黄昏=39522,冰原核弹=39523,冰原狙击=39524,青年瑞兹=39525,元老议会=39526,莲花之令卡尔玛=39527,暗星卡尔玛=39528,钢铁军团拉克丝=39529,奥斯曼大帝蛮王=39530,奥斯曼大帝船长=39531,穿星魔锋=39532,斩星魔剑=39533,创星之灵露露=39534,舞会公主安妮=39535,巨角幻兽牛头=39536,暗黑灵魂牛头=39537,粉色萝莉=39538,养蜂人炼金=39539,哥特萝莉=39540,生化领主蛮王=39541,2022 全球总决赛 阿兹尔=39542";
        String xd = biGetTwo(xianding, accountInfo.getDes());
        if (StringUtils.isNotEmpty(xd)) {
            paramss.put("f7", xd.substring(1));
        }
        String zhizhen = "至臻 K/DA 伊芙琳=39544,至臻 K/DA 阿卡丽=39545,至臻 K/DA 卡莎=39546,至臻 腥红之月 剑魔=39547,至臻 绒毛菲兹=39548,至臻 电玩女神 凯特琳=39549,至臻 源计划：正义 艾瑞莉娅=39550,至臻妮寇=39551,至臻K/DA 阿狸=39552,至臻 玉剑传说 武剑仙=39553,至臻 魅惑女巫 厄运小姐=39554,至臻 真实伤害 奇亚娜=39555,至臻 未来战士 锤石=39556,至臻 黑夜使者 李青=39557,至臻 王国机神玄武 盖伦=39558,至臻 真实伤害 赛娜=39559,至臻 战斗学院 拉克丝=39560,至臻 暗星 墨菲特=39561,至臻 魔女 婕拉=39562,至臻 未来战士 卢锡安=39563,至臻 奥术师 佐伊=39564,至臻 灵魂莲华 提莫=39565,至臻索拉卡=39566,至臻 真实伤害 亚索=39567,至臻 烈焰美人 薇恩=39568,至臻 战斗学院 蕾欧娜=39569,至臻 太空律动 节奏幻师 璐璐=39570,至臻 征服者 贾克斯=39571,至臻 神龙尊者 炎龙瑟提=39572,至臻 灵能特工 伊泽瑞尔=39573,至臻 K/DA ALL OUT=39574,至臻 女帝 戴安娜=39575,至臻 福牛守护者 菲奥娜=39576,至臻 原计划：逆流 塞拉斯=39577,至臻 源计划：阴 劫=39578,至臻 飞升战神 潘森=39579,至臻 魔女 乐芙兰=39580,至臻 黑夜使者 凯隐=39581,至臻 魅惑女巫 莫甘娜=39582,至臻神龙尊者均衡之龙 沃利贝尔=39583,至臻 焰执事 布兰德=39584,至臻 青花瓷 拉克丝=39585,至臻 神凰行者 烈羽焰凰 霞=39586,至臻幻灵战斗猫金克丝=39587,至臻月蚀骑士赛娜=39588,至臻西部魔影泰隆=39589,至臻海之歌萨勒芬妮=39590,至臻星之守护者艾克=39591,至臻星之守护者辛德拉=39592,至臻 灵魂莲华 易=39593,至臻 海珀利安小队 迦娜=39594,至臻至高天奎桑提=39595,至臻北极星使者沃里克=39596,至臻 剪纸仙灵 希维尔=39597,至臻 青花瓷 丽桑卓=39598,至臻 太空律动 魔音海妖 娜美=39599,至臻 星之守护者 妮蔻=39600,至臻 星之守护者 索拉卡=39601,至臻 绝息圣堂 厄运小姐=39602";
        String zz = biGetTwo(zhizhen, accountInfo.getDes());
        if (StringUtils.isNotEmpty(zz)) {
            paramss.put("f8", zz.substring(1));
        }
        String haikesi = "海克斯小炮=39604,海克斯炸弹人=39605,海克斯卡萨丁=39606,海克斯梦魇=39607,海克斯皇子=39608,海克斯人马=39609,海克斯希维尔=39610,海克斯劫=39611,摄魂薇恩=39612,海克斯安妮=39613,海克斯雷克顿=39614,海克斯人马=39615,海克斯波比=39616,海克斯牛头=39617,海克斯大嘴=39618,海克斯阿木木=39619,海克斯龙龟=39620,海克斯乌鸦=39621,海克斯斯维因=39622,暗星科加斯=39623";
        String hks = biGetTwo(haikesi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(hks)) {
            paramss.put("f9", hks.substring(1));
        }
        String nianxian = "龙年大嘴=39625,龙年男刀=39626,龙年猴子=39627,龙年盲僧=39628,龙年琴女=39629,蛇年蛇女=39630,蛇年安妮=39631,蛇年飞机=39632,马年皎月=39633,马年锐雯=39634,羊年金克丝=39635,猴年猴子=39636,猴年女警=39637,猴年莫甘娜=39638,鸡年沙皇=39639,鸡年盖伦=39640,鸡年蔚=39641,狗年狼人=39642,狗年光辉=39643,狗年狗头=39644,猪年猪妹=39645,猪年薇恩=39646,猪年塔姆=39647,鼠年瑟提=39648,鼠年武器=39649,鼠年德莱文=39650,鼠年蕾欧娜=39651,鼠年盖伦=39652,福牛守护者牛头=39653,福牛守护者安妮=39654,福牛守护者诺手=39655,福牛守护者厄斐琉斯=39656,福牛守护者剑姬=39657,福牛守护者皇子=39658,招财进宝提莫=39659,猛虎下山赵信=39660,龙腾虎跃腕豪=39661,烈焰仙子戴安娜=39662,虎头虎脑小炮=39663,剪纸仙灵 艾瑞莉娅=39664,剪纸仙灵 盖伦=39665,剪纸仙灵 加里奥=39666,剪纸仙灵 婕拉=39667,剪纸仙灵 希维尔=39668";
        String nx = biGetTwo(nianxian, accountInfo.getDes());
        if (StringUtils.isNotEmpty(nx)) {
            paramss.put("f10", nx.substring(1));
        }
        String zhounian = "1周年安妮=39670,2周年诺手=39671,3周年女枪=39672,4周年锐雯=39673,5周年狐狸=39674,6周年EZ=39675,7周年刀妹=39676,7周年男刀=39677,8周年佐伊=39678,9周年剑圣=39679,10周年安妮=39680,10周年凤凰=39681,10周年萨勒芬妮=39682,10周年霞=39683,11周年卡蜜尔=39684,11周年卢锡安=39685";
        String zn = biGetTwo(zhounian, accountInfo.getDes());
        if (StringUtils.isNotEmpty(zn)) {
            paramss.put("f11", zn.substring(1));
        }
        String qingrenjie = "穿心之剑菲奥娜=39687,觅心猎手薇恩=39688,觅心萝莉金克丝=39689,觅心猫猫猫咪=39690,觅心魔灵奥利安娜=39691,觅心女王寒冰=39692,觅心游侠卢锡安=39693,觅心之翼奎因=39694,水晶玫瑰婕拉=39695,水晶玫瑰乌鸦=39696,碎心之拳蔚=39697,甜心宝贝安妮=39698,甜心之翎洛=39699,甜心宝贝娑娜=39700,甜心之羽霞=39701,幽梦玫瑰男刀=39702,幽梦玫瑰球女=39703,幽梦玫瑰蜘蛛=39704,水晶玫瑰阿克尚=39705,水晶玫瑰迦娜=39706,怦然心动 凯特琳=39707,意乱情迷 蔚=39708,黯然心伤 阿木木=39709";
        String qrj = biGetTwo(qingrenjie, accountInfo.getDes());
        if (StringUtils.isNotEmpty(qrj)) {
            paramss.put("f12", qrj.substring(1));
        }
        String bingxuejie = "主人不要我了阿木木=39711,冰封王子蒙多=39712,冰雪风暴希维尔=39713,冰雪节男枪=39714,冰雪节马尔扎哈=39715,冰雪节炼金=39716,冰雪女神辛德拉=39717,冰雪兽纳尔=39718,冰雪驯鹿波比=39719,持胡萝卜的雪人易=39720,冬季仙境发条=39721,冬季仙境卡尔玛=39722,冬季仙境奶妈=39723,寒冬精灵露露=39724,胡桃夹子小丑=39725,平安夜女神娑娜=39726,魄罗骑士猪妹=39727,圣诞捣蛋鬼金克丝=39728,圣诞开心鬼提莫=39729,圣诞精灵小炮=39730,圣诞狂欢时光=39731,圣诞狂欢努努=39732,圣诞老人布隆=39733,圣诞老人德莱文=39734,圣诞老人酒桶=39735,圣诞糖果棒女枪=39736,圣诞玩偶波比=39737,圣诞驯鹿大嘴=39738,冰雪节大树=39739,邪恶圣诞老人小法=39740,幸福女神乐芙兰=39741,雪球也能爆炸炸弹人=39742,雪默丁格=39743,雪装豹女=39744,英勇玩具兵船长=39745,狂心冰王图奇=39746,北极星使者萨科=39747,北极星圣贤基兰=39748,北极星猎人斯维因=39749,北极星守望者佐伊=39750,北极星神黛安娜=39751,北极星使者沃里克=39752";
        String bxj = biGetTwo(bingxuejie, accountInfo.getDes());
        if (StringUtils.isNotEmpty(bxj)) {
            paramss.put("f13", bxj.substring(1));
        }
        String saijixianding = "斗牛士阿利斯塔=39754,胜利女神迦娜=39755,胜利女神蜘蛛=39756,胜利女神莫甘娜=39757,胜利女神希维尔=39758,胜利之树大树=39759,胜利枪神男枪=39760,胜利女神奥利安娜=39761,胜利之剑剑魔=39762,胜利枪神卢锡安=39763,胜利机器人布里茨=39764,胜利女神瑟庄妮=39765";
        String sjxd = biGetTwo(saijixianding, accountInfo.getDes());
        if (StringUtils.isNotEmpty(sjxd)) {
            paramss.put("f14", sjxd.substring(1));
        }
        String guanjunxianding = "S1FNC酒桶=39767,S1FNC迦娜=39768,S1FNC皇子=39769,S1FNC卡尔萨斯=39770,S1FNC飞机=39771,S2暗杀星发条=39772,S2暗杀星蒙多=39773,S2暗杀星努努=39774,S2暗杀星慎=39775,S2暗杀星伊泽瑞尔=39776,S3SKTT1劫=39777,S3SKTT1贾克斯=39778,S3SKTT1薇恩=39779,S3SKTT1盲僧=39780,S3SKTT1婕拉=39781,S4SSW锤石=39782,S4SSW狮子狗=39783,S4SSW男刀=39784,S4SSW图奇=39785,S4SSW炼金=39786,S5SKTT1鳄鱼=39787,S5SKTT1牛头=39788,S5SKTT1瑞兹=39789,S5SKTT1滑板鞋=39790,S5SKTT1沙皇=39791,S5SKTT1蜘蛛=39792,S6SKTT1奥拉夫=39793,S6SKTT1烬=39794,S6SKTT1艾克=39795,S6SKTT1球女=39796,S6SKTT1娜美=39797,S6SKTT1扎克=39798,S7SSG皇子=39799,S7SSG洛=39800,S7SSG纳尔=39801,S7SSG塔利亚=39802,S7SSG霞=39803,S7SSG伊泽瑞尔=39804,S8IG刀妹=39805,S8IG剑姬=39806,S8IG卡米尔=39807,S8IG卡莎=39808,S8IG菲欧娜=39809,S8IG乐芙兰=39810,S8IG洛=39811,S9FPX薇恩=39812,S9FPX锤石=39813,S9FPX盲僧=39814,S9FPX石头人=39815,S9FPX船长=39816,S10DWG卡牌=39817,S10DWG烬=39818,S10DWG凯南=39819,S10DWG日女=39820,S10DWG豹女=39821,S11EDG男枪=39822,S11EDG佛耶戈=39823,S11EDG佐伊=39824,S11EDG厄斐琉斯=39825,S11EDG猫咪=39826";
        String gjxd = biGetTwo(guanjunxianding, accountInfo.getDes());
        if (StringUtils.isNotEmpty(gjxd)) {
            paramss.put("f15", gjxd.substring(1));
        }
        String wanshengjie = "奥德赛吉格斯=39828,不给糖就捣蛋艾克=39830,鬼影森森大树=39831,伯爵卡萨丁=39832,大魔法锅机器人=39833,大魔王提莫=39834,鬼影重重魔腾=39835,海贼瑞兹=39836,古拉伯爵克烈=39837,灵魂收割者奶妈=39838,魅惑女巫波比=39839,魅惑女巫小炮=39840,魅惑女巫女枪=39841,魅惑女巫剑姬=39842,魅惑女巫迦娜=39843,魅惑女巫莫甘娜=39844,魅惑女巫娜美=39845,魅惑女巫豹女=39846,魅惑女巫球女=39847,魅惑女巫蜘蛛=39848,魅惑女巫猫咪=39849,南瓜头稻草人=39850,南瓜头王子阿木木=39851,死亡誓约劫=39852,死亡誓约卡特=39853,死亡誓约维克托=39854,无头骑士人马=39855,小恶魔菲兹=39856";
        String wsj = biGetTwo(wanshengjie, accountInfo.getDes());
        if (StringUtils.isNotEmpty(wsj)) {
            paramss.put("f16", wsj.substring(1));
        }
        String zhongji = "大元素使=39857,灵魂守卫=39858,未来战士=39859,武装战姬=39860,DJ-娑娜=39861,K/DA ALL OUT-萨勒=39862";
        String zjpf = biGetTwo(zhongji, accountInfo.getDes());
        if (StringUtils.isNotEmpty(zjpf)) {
            paramss.put("f17", zjpf.substring(1));
        }
        return paramss;
    }

    public Map<String, Object> qzwz(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 8l);
        paramss.put("gameType", "0");
        if (accountInfo.getRegional().contains("苹果")) {
            paramss.put("systemId", 41539l);
        }
        if (accountInfo.getRegional().contains("安卓")) {
            paramss.put("systemId", 41538l);
        }
        if (accountInfo.getRegional().contains("Q")) {
            paramss.put("carrierId", 41541l);
            paramss.put("groupId", 41545l);
            paramss.put("serverId", 41718l);
        }
        if (accountInfo.getRegional().contains("WX")) {
            paramss.put("carrierId", 41542l);
            paramss.put("groupId", 41546l);
            paramss.put("serverId", 41719l);
        }
        String vdengji = "无=41721,V1=41722,V2=41723,V3=41724,V4=41725,V5=41726,V6=41727,V7=41728,V8=41729,V9=41730,V10=41731";
        String vipdj = biGetFirst(vdengji, accountInfo.getDes());
        if (StringUtils.isNotEmpty(vipdj)) {
            paramss.put("f2", vipdj);
        } else {
            paramss.put("f2", "41721");
        }

        String vwuqi = "AK47-黑武士觉醒-金属蜂巢=40729,AK47-无影-能量核心=40730,AK47-火麒麟-能量核心=40731,AK47-火麒麟-暗月=40732,AK47-无影-荣耀酷本=40733,AK47-火麒麟-钰=40734,AK47-游骑兵-紫魇=40735,AK47-游骑兵-寒霜=40736,AK47-沙漠领主-邪神=40737,AK47-无影-诸神黄Y=40738,AK47-黑武士觉醒-能量核心=40739,AK47-火麒麟-诸神黄昏=40740,AK47-无影-落日余晖=40741,AK47-耀金伯爵-寒霜=40742,AK47-沙漠领主-暗月=40743,AK47-角斗士-秘银=40744,AK47-无影-汗血之征=40745,AK47-火麒麟-玉门春风=40746,AK47-黑武土觉醒-Continue=40747,AK47-游骑兵-荣耀花瓣=40748,AK47-竞技战魂-斗鱼=40749,AK47-无影-枪神之影=40750,AK47-火麒麟-荣耀蛮蛮=40751,AK47-无影-枪皇之影=40752,AK47-无影-日晖夜辰=40753,AK47-孟德-过载=40754,AK47-黑武土觉醒-暗月=40755,AK47-竞技战魂-CFML2021=40756,AK47-幸运日觉醒-千变=40757,AK47-常胜-铩魔=40758,AK47-混世魔王-千变=40759,AK47-火麒麟-寒霜=40760,AK47-火麒麟-雷神=40761,AK47-无影-虎牙=40762,AK47-黑武士觉醒-血刃=40763,AK47-策-霸魂=40764,AK47-黑武土觉醒-诸神黄昏=40765,AK47-火麒麟-枪娘=40766,AK47-火麒麟-Pro Max=40767,AK47-火麒麟-叮当猫=40768,AK47-牡丹精灵-月光蓝=40769,AK47-牡丹精灵-原野绿=40770,AK47-牡丹精灵-星空紫=40771,AK47-牡丹精灵-胭脂粉=40772,AK47-牡丹精灵-雪花白=40773,AK47-游骑兵-紫罗兰=40774,AK47-黑武士-月光蓝=40775,AK47-黑武土觉醒-星空紫=40776,AK47-黑武士觉醒-原野绿=40777,AK47-黑武士觉醒-蓝粉炫彩=40778,AK47-黑武士觉醒-烈焰=40779,AK47-无影-未来之星=40780,AK47-黑武土觉醒-红绿炫彩=40781,AK47-无影-蓝粉炫彩=40782,AK47-无影-红绿炫彩=40783,AK47-无影-黄沙血战=40784,AK47-火麒麟-烟笼寒水=40785,AK47-角斗士-月光蓝=40786,AK47-角斗士-星空紫=40787,AK47-角斗士-雪花白=40788,AK47-无影-余晖=40789,AK47-竞界荣光-电竞炫彩=40790,AK47-常胜-遁魔黑=40791,AK47-雷麒麟-赤焰红=40792,AK47-雷麒麟-原野绿=40793,AK47-雷麒麟-韵动黄=40794,AK47-无影-现代战场=40795,AK47-火麒麟-现代战场=40796,AK47-常胜-现代战场=40797,AK47-无影-落日之印=40798,AK47-常胜-铩魔之印=40799,AK47-无影-落日之殇=40800,AK47-常胜-铩魔之殇=40801,AK47-常胜-|寒芒|=40802,AK47-常胜-|铩魔之芒|=40803,AK47-无影-英雄战甲=40804,M4A1-雷神-时空幻境=40805,M4A1-死神-月光蓝=40806,M4A1-死神-胭脂粉=40807,M4A1-雷神-暗月=40808,M4A1-雷神-枪神之魄=40809,M4A1-黑骑士-暗月=40810,M4A1-死神-秘银=40811,M4A1-雷神-诸神黄昏=40812,M4A1-黑龙-能量核心=40813,M4A1-游骑兵-寒霜=40814,M4A1-黑龙-凶煞=40815,M4A1-黑骑士-电竞之皇=40816,M4A1-黑骑士-诸神黄昏=40817,M4A1-竞技战魂-AG=40818,M4A1-雷神-荣耀蛮蛮=40819,M4A1-竞技战魂-斗鱼=40820,M4A1-竞技战魂-情久=40821,M4A1-黑骑士-瑞兽=40822,M4A1-游骑兵-紫魇=40823,M4A1-黑龙-苏城钰=40824,M4A1-死神-能量核心=40825,M4A1-游骑兵-KZ=40826,M4A1-武圣-傲魔=40827,M4A1-雷神-千变=40828,M4A1-雷神-林准=40829,M4A1-雷神-英雄战甲=40830,M4A1-黑骑士-LGD=40831,M4A1-雷神-能量核心=40832,M4A1-竞技战魂-CFML2021=40833,M4A1-黑龙-暗月=40834,M4A1-七色宝葫-黑曜=40835,M4A1-死神-暗月=40836,M4A1-雷神-赛博朋克=40837,M4A1-沙漠领主-暗月=40838,M4A1-威侯-屈魔=40839,M4A1-黑骑士-海王=40840,M4A1-雷神-漫画=40841,M4A1-游骑兵-航轩=40842,M4A1-死神-原野绿=40843,M4A1-死神-星空紫=40844,M4A1-死神-雪花白=40845,M4A1-黑骑士-韵动黄=40846,M4A1-黑骑士-深空灰=40847,M4A1-黑骑士-玫瑰金=40848,M4A1-死神-雷魂=40849,M4A1-游骑兵-星空紫=40850,M4A1-游骑兵-原野绿=40851,M4A1-游骑兵-赤炎红=40852,M4A1-游骑兵-玫瑰金=40853,M4A1-雷神-璀璨星光=40854,M4A1-雷神-原初=40855,M4A1-黑龙-月光蓝=40856,M4A1-黑龙-原野绿=40857,M4A1-黑龙-星空紫=40858,M4A1-黑龙-胭脂粉=40859,M4A1-黑龙-雪花白=40860,M4A1-黑龙-玫瑰金=40861,M4A1-雷神-红绿炫彩=40862,M4A1-武圣-原野绿=40863,M4A1-武圣-星空紫=40864,M4A1-武圣-月光蓝=40865,M4A1-武圣-蓝粉炫彩=40866,M4A1-武圣-红绿炫彩=40867,M4A1-雷神-虚无=40868,M4A1-武圣-遁魔黑=40869,M4A1-黑骑士-潜龙出渊=40870,M4A1-变色龙-赤炎红=40871,M4A1-变色龙-胭脂粉=40872,M4A1-变色龙-红绿炫彩=40873,M4A1-竞技战魂-黄蓝炫群=40874,M4A1-黑骑士-蓝粉炫彩=40875,M4A1-竞技战魂-黄紫炫群=40876,M4A1-竞界荣光-电竞炫彩=40877,M4A1-雷神-七色宝芦=40878,M4A1-威侯-遁魔黑=40879,M4A1-武圣-现代战场=40880,M4A1-雷神-现代战场=40881,M4A1-威侯-现代战场=40882,M4A1-武圣-傲魔之印=40883,M4A1-七色宝葫-葫芦之印=40884,M4A1-威侯-屈魔之印=40885,M4A1-武圣-傲魔之殇=40886,M4A1-威侯-屈魔之殇=40887,巴雷特-极光-重型机甲=40888,巴雷特-毁灭-暗月=40889,巴雷特-极光-能量核心=40890,巴雷特-毁灭-寒霜=40891,巴雷特-极光-荣耀街寂=40892,巴雷特-毁灭-诸神黄昏=40893,巴雷特-极光-淬意蝶舞=40894,巴雷特-毁灭-战舞=40895,巴雷特-毁灭-枪神之怒=40896,巴雷特-极光-英雄战甲=40897,巴雷特-毁灭-快手=40898,巴雷特-毁灭-能量核心=40899,巴雷特-毁灭-紫魔=40900,巴雷特-毁灭-EP=40901,巴雷特-极光-清凉夏目=40902,巴雷特-定军-忿魔=40903,巴雷特-毁灭-斗鱼=40904,巴雷特-极光-尼尔=40905,巴雷特-毁灭-不屈老兵=40906,巴雷特-毁灭-枪娘=40907,巴雷特-极光-锈迹斑斑=40908,巴雷特-毁灭-韵动黄=40909,巴雷特-毁灭-深空灰=40910,巴雷特-毁灭-玫瑰金=40911,巴雷特-毁灭-原野绿=40912,巴雷特-毁灭-星空紫=40913,巴雷特-毁灭-胭脂粉=40914,巴雷特-毁灭-雪花白=40915,巴雷特-极光-原野绿=40916,巴雷特-极光-蓝粉炫彩=40917,巴雷特-极光-赛博朋克=40918,巴雷特-极光-蝶舞=40919,巴雷特-毁灭-电竞炫彩=40920,巴雷特-毁灭-荣光时刻=40921,巴雷特-定军-遁魔黑=40922,巴雷特-毁灭-现代战场=40923,巴雷特-极光-现代战场=40924,巴雷特-定军-现代战场=40925,巴雷特-极光-淬蝶之印=40926,巴雷特-定军-忿魔之印=40927,巴雷特-极光-淬蝶之殇=40928,巴雷特-定军-忿魔之殇=40929,巴雷特-极光-千变=40930,巴雷特-毁灭-传奇街寂=40931,巴雷特-毁灭-月光蓝=40932,剑齿虎-重装机甲=40933,剑齿虎-钰=40934,剑齿虎-月光蓝=40935,剑齿虎-原野绿=40936,剑齿虎-星空紫=40937,AN94-卷帘大将军-千变=40938,AN94-超新星-原野绿=40939,AN94-超新星-月光蓝=40940,AN94-超新星-星空紫=40941,AN94-超新星-赤炎红=40942,AN94-超新星-蓝粉炫彩=40943,AN94-超新星-红绿炫彩=40944,AN94-超新星-原力觉醒=40945,AN94-卷帘大将军-悟净之印=40946,AN94-卷帘大将军-悟净之殇=40947,QBZ03-湮灭-秘银=40948,QBZ03-湮灭-月光蓝=40949,QBZ03-湮灭-原野绿=40950,QBZ03-湮灭-星空紫=40951,QBZ03-湮灭-胭脂粉=40952,QBZ03-湮灭-雪花白=40953,HK416-混世行者-千变=40954,HK416-混世行者-悟空之印=40955,HK416-混世行者-悟空之殇=40956,81式-光明之神-千变=40957,81式-瑜-龙腾之力=40958,81式-瑜-现代战场=40959,81式-光明之神-阿波罗之印=40960,81式-光明之神-阿波罗之殇=40961,81式-瑜-|周郎|=40962,G36-竞技战魂-千变=40963,G36-竞技战魂-竞放之印=40964,G36-竞技战魂-竞放之殇=40965,MK47-云舞-千变=40966,MK47-云舞-燃竞之印=40967,MK47-云界-燃竞之殇=40968,AWM-游骑兵-紫魇=40969,AWM-天龙-魔神=40970,AWM-游骑兵-寒霜=40971,AWM-天龙-英雄战甲=40972,AWM-天龙-月光蓝=40973,AWM-天龙-赤焰红=40974,AWM-天龙-星空紫=40975,王者幻神-冰霜奇迹=40976,王者幻神-现代战场=40977,M200-幻神-战舞=40978,M200-幻神-现代战场=40979,09式狙-天神-能量核心=40980,09式狙-天神-千变=40981,MR1-龙吟惊沧海-千变=40982,MR1-龙吟惊沧海-自马之印=40983,MR1-龙吟惊沧海-自马之殇=40984,加特林-炼狱-怒魔=40985,加特林-炼狱-生化毒液=40986,加特林-炼狱-遁魔黑=40987,加特林-炼狱-现代战场=40988,加特林-炼狱-怒魔之印=40989,加特林-炼狱-怒魔之殇=40990,MK5-机械纪元-蚀刻战甲=40991,MK5-机械纪元-千变=40992,MK5-机械纪元-月光蓝=40993,MK5-机械纪元-原野绿=40994,MK5-机械纪元-星空紫=40995,MK5-机械纪元-胭脂粉=40996,MK5-机械纪元-雪花白=40997,双持斯泰尔-天使-血翼=40998,双持斯泰尔-天使-原野绿=40999,双持斯泰尔-天使-星空紫=41000,双持斯泰尔-天使-烟脂粉=41001,双持斯泰尔-天使-赤炎红=41002,双持斯泰尔-天使-雪花白=41003,CZS2-善财童子-千变=41004,CZS2-善财童子-圣婴之印=41005,CZS2-善财童子-圣婴之殇=41006,嗜血金鲨-生化毒液=41007,KSG-天蓬元帅-千变=41008,KSG-天逢元帅-天莲之印=41009,KSG-天蓬元帅-天蓬之殇=41010,沙鹰-火麒麟-诸神黄昏=41011,沙鹰-火麒麟-钰=41012,沙鹰-游骑兵-紫魇=41013,沙鹰-修罗-能量核心=41014,沙鹰-修罗-诸神黄昏=41015,沙鹰-修罗-孤狼=41016,沙鹰-火麒麟-暗月=41017,沙鹰-游骑兵-寒霜=41018,沙鹰-修罗-紫魇=41019,沙鹰-火麒麟-寒霜=41020,沙鹰-定军-忿魔=41021,沙鹰-无影-诸神黄昏=41022,沙鹰-修罗-不屈老兵=41023,沙鹰-火麒麟-Pro Max=41024,沙鹰-修罗-枪圣之魂=41025,沙鹰-修罗-韵动黄=41026,沙鹰-修罗-深空灰=41027,沙鹰-修罗-玫瑰金=41028,沙鹰-修罗-月光蓝=41029,沙鹰-修罗-原野绿=41030,沙鹰-修罗-星空紫=41031,沙鹰-修罗-胭脂粉=41032,沙鹰-修罗-雪花白=41033,沙鹰-火麒麟-能量核心=41034,沙鹰-修罗-暗月=41035,沙鹰-无影-能量核心=41036,气手枪-炼狱-怒魔=41037,气手枪-炼狱-生化毒液=41038,双持沙鹰-金银双煞-千变=41039,双持沙鹰-金银双煞-银角之殇=41040,双持沙鹰-金银双煞-金角之印=41041,消音毛瑟-常胜-铩魔=41042,左轮-黑武土觉醒-能量核心=41043,左轮-黑武士觉醒-Continune=41044,左轮-黑武士觉醒-暗月=41045,左轮-黑武土觉醒-诸神黄昏=41046,GLOCK18-武圣-傲魔=41047,改装GLOCK-黑龙-暗月=41048,改装GLOCK-黑龙-能量核心=41049,COP357-雷神-暗月=41050,COP357-雷神-能量核心=41051,COP357-雷神-漫画=41052,COP357-雷神-原野绿=41053,COP357-雷神-星空紫=41054,COP357-雷神-雪花自=41055,COP357-雷神-韵动黄=41056,双管猎枪-黑骑士-暗月=41057,双管猎枪-黑骑士 能量核心=41058,双管猎枪-威侯-屈魔=41059,CZ75-死神-能量核心=41060,CZ75-死神-秘银=41061,CZ75-死神-暗月=41062,MK23-瑜-龙腾之力=41063,双持柯尔特-极光-淬意蝶舞=41064,双持柯尔特-极光-清凉夏日=41065,下持柯尔特-极光-锈迹斑斑=41066,寒霜烈龙-赤炎红=41067,寒霜烈龙-原野绿=41068,寒霜烈龙-星空紫=41069,寒霜烈龙-胭脂粉=41070,寒霜烈龙-雪花白=41071,地狱烈炎-月光蓝=41072,地狱烈炎-原野绿=41073,地狱烈炎-星空紫=41074,地狱烈炎-雪花白=41075,AK12-天启-赤炎红=41076,AK12-天启-原野绿=41077,AK12-天启-星空紫=41078,AK12-天启-胭脂粉=41079,AK12-天启-雪花白=41080,M14EBR-暗夜-月光蓝=41081,M14EBR-暗夜-原野级=41082,M14EBR-暗夜-星空紫=41083,M14EBR-暗夜-胭脂粉=41084,M14EBR-暗夜-雪花白=41085,QBZ95-天使-月光蓝=41086,QBZ95-天使-原野绿=41087,QBZ95-天使-星空紫=41088,QBZ95-天使-胭脂粉=41089,QBZ95-天使-雪花白=41090,暗杀神-月光蓝=41091,暗杀神-星空紫=41092,暗杀神-原野绿=41094,火麒麟-月光蓝=41095,火麒麟-原野绿=41096,火麒麟-星空紫=41097,火麒麟-胭脂粉=41098,火麒麟-蓝粉炫彩=41099,耀金伯爵-天使之翼=41100,赛事冠军2019-情久=41101,赛事冠军2019-KB=41102,TAC-慈-子义之印=41103,TAC-慈-子义之殇=41104,M4A-七色宝葫-萌芦之殇=41105,消灭音效-现代战场=41106,消灭音效-战壕风云=41107,狙击枪线-螺旋烟雾=41108,王者之心-冰霜奇迹=41109,王者之心-燃竞之巅=41110,王者之心-巅峰荣耀=41111,王者之心-紫电熔岩=41112,王者之心-HeartShot=41113,王者之心-赤炎红=41114,王者之心-雪花白=41115,王者之心-原野绿=41116,王者之心-赤金=41117,王者之心-冰霜=41118,王者之心-熔岩=41119,王者之心-虚无=41120,王者之心-现代战场=41121,王者之心-熔岩之印=41122,王者之心-熔岩之殇=41123,王者之影-冰霜奇迹=41124,王者之影-燃竞之巅=41125,王者之影-赤炎红=41126,王者之影-雪花白=41127,王者之影-原野绿=41128,王者之影-赤金=41129,王者之影-冰霜=41130,王者之影-虚无=41131,王者之影-现代战场=41132,王者之翼-冰霜奇迹=41133,王者之翼-燃竞之巅=41134,王者之翼-原野绿=41135,王者之翼-星空紫=41136,王者之翼-月光蓝=41137,王者之翼-赤金=41138,王者之翼-冰霜=41139,王者之魄-冰霜奇迹=41140,王者之魄-燃竞之颜=41141,王者之魄-巅峰荣耀=41142,王者之魄-紫电熔岩=41143,王者之魄-HeartShot=41144,王者之魄-白金血钻=41145,王者之魄-赤炎红=41146,王者之魄-雪花白=41147,王者之魄-原野绿=41148,王者之魄-赤金=41149,王者之魄-冰霜=41150,王者之魄-熔岩=41151,王者之魄-虚无=41152,王者之魄-现代战场=41153,王者之魄-熔岩之印=41154,王者之魄-熔岩之殇=41155,王者之戳-冰霜奇迹=41156,王者之戳-冰霜=41157,王者之戳-虚无=41158,王者之武-冰霜奇迹=41159,王者之武-月光蓝=41160,王者之武-星空紫=41161,王者之武-雪花白=41162,王者之武-玫瑰金=41163,王者之势-冰霜奇迹=41164,王者之势-巅峰荣耀=41165,王者之圣-冰霜奇迹=41166,王者之圣-赤焰红=41167,王者之圣-星空紫=41168,王者之圣-月光蓝=41169,王者之圣-红绿炫彩=41170,王者之戮-冠军LGD=41171,王者之戮-赤炎红=41172,王者之戮-原野绿=41173,王者之戮-赤金=41174,王者之力-冰霜奇迹=41175,王者之力-赤炎红=41176,王者之力-雪花白=41177,王者之力-原野绿=41178,王者之力-赤金=41179,王者之力-冰霜=41180,王者之力-虚无=41181,王者之怒-冰霜奇迹=41182,王者之怒-燃竞之巅=41183,王者之怒-巅峰荣耀=41184,王者之怒-紫电熔岩=41185,王者之怒-冠军LGD=41186,王者之怒-HeartShot=41187,王者之怒-冰霜=41188,王者之怒-赤炎红=41189,王者之怒-雪花白=41190,王者之怒-原野绿=41191,王者之怒-赤金=41192,王者之怒-熔岩=41193,王者之怒-虚无=41194,王者之怒-现代战场=41195,王者之怒-熔岩之印=41196,王者之怒-熔岩之殇=41197,王者之光-冰霜奇迹=41198,王者之光-HeartShot=41199,王者之光-冰霜=41200,王者之光-赤炎红=41201,王者之光-原野绿=41202,王者之光-赤金=41203,王者之魂-冰霜奇迹=41204,王者之魂-燃竞之颜=41205,王者之魂-紫电熔岩=41206,王者之魂-HeartShot=41207,王者之魂-虚无=41208,王者之灵-冰霜奇迹=41209,王者之灵-虚无=41210,王者之电-冰霜奇迹=41211,王者之轮-冰霜奇迹=41212,王者之迹-冰霜奇迹=41213,王者之啸-冰霜奇迹=41214,王者之啸-虚无=41215,王者之锋-冰霜奇迹=41216,王者之锋-燃竞之巅=41217,王者之锋-紫电熔岩=41218,王者之锋-HeartShot=41219,王者之锋-赤炎红=41220,王者之锋-雪花白=41221,王者之锋-原野绿=41222,王者之锋-赤金=41223,王者之锋-虚无=41224,王者之刺-冰霜奇迹=41225,王者之击-冰霜奇迹=41226,王者之痕-冰霜奇迹=41227,王者之翼手雷-冰霜奇迹=41228,王者之影手雷-冰霜奇迹=41229,王者之心手雷-冰霜奇迹=41230,王者之心手雷-燃竞之巅=41231,王者之心手雷-紫电熔岩=41232,王者之心手雷-HeartShof=41233,王者之势手雷-冰霜奇迹=41234,王者之圣手雷-冰霜奇迹=41235,王者之翼闪光弹-冰霜奇迹=41236,王者之影闪光弹-冰霜奇迹=41237,王者之心闪光弹-冰霜奇迹=41238,王者之心闪光弹-燃竞之巅=41239,王者之心闪光弹-紫电熔岩=41240,王者之心闪光弹-HeartShot=41241,王者之势闪光弹-冰霜奇迹=41242,王者之圣闪光弹-冰霜奇迹=41243,王者之翼烟雾弹-冰霜奇迹=41244,王者之影烟雾弹-冰霜奇迹=41245,王者之心烟雾弹-冰霜奇迹=41246,王者之心烟雾弹-燃竞之巅=41247,王者之心烟雾弹-紫电熔岩=41248,王者之心烟雾弹-HeartShot=41249,王者之势烟雾弹-冰霜奇迹=41250,王者之圣烟雾弹-冰霜奇迹=41251,王者之神-赤炎红=41252,王者之神-原野绿=41253,王者之神-星空紫=41254,G36-竞技战魂=41255,G36-机械纪元=41256,M4A1-哈迪斯=41257,M4A1-冰锋觉醒=41258,M4A1-海骑士=41259,M4A1-赛博雷神=41260,M4A1-七色宝葫=41261,M4A1-雷霆=41262,M4A1-竞界荣光=41263,M4A1-机械迷城=41264,M4A1-黑龙钰-子涵=41265,M4A1-仲达=41266,M4A1-龙血=41267,M4A1-变色龙=41268,M4A1-雷神-萝拉=41269,M4A1-威侯=41270,M4A1-Rush-夜袭=41271,M4A1-樱龙·超觉=41272,M4A1-樱龙·二觉=41273,M4A1-樱龙·一觉=41274,M4A1-星象=41275,M4A1-竞技战魂=41276,M4A1-卧龙=41277,M4A1-卧龙觉醒=41278,M4A1-武圣=41279,M4A1-君威GS=41280,M4A1-枪娘=41281,M4A1-沙漠领主=41282,M4A1-K=41283,M4A1-游骑兵=41284,M4A1-天使=41285,M4A1-玫瑰精灵=41286,M4A1-死神=41287,M4A1-黑龙=41288,M4A1-黑骑士=41289,M4A1-雷神=41290,MK47-云舞=41291,MK47-机械纪元=41292,MK47-仁德=41293,AK47-波塞冬=41294,AK47-血武士=41295,AK47-雷暴=41296,AK47-雷麒麟=41297,AK47-心动次元觉醒=41298,AK47-心动次元=41299,AK47-燎天净火=41300,AK47-幸运日=41301,AK47-策=41302,AK47-混世魔王=41303,AK47-沙漠郡主-超觉=41304,AK47-沙漠郡主-二觉=41305,AK47-沙漠郡主-一觉=41306,AK47-猩红传说=41307,AK47-竞界荣光=41308,AK47-泰坦破坏者Ⅲ=41309,AK47-幸运日觉醒=41310,AK47-天使=41311,AK47-亚龙=41312,AK47-孟德=41313,AK47-奉先=41314,AK47-竞技战魂=41315,AK47-机械迷城=41316,AK47-变色龙=41317,AK47-樱斗士-超觉=41318,AK47-樱斗士-二觉=41319,AK47-樱斗士-一觉=41320,AK47-英朗=41321,AK47-无影-葵=41322,AK47-Rush-星速=41323,AK47-常胜=41324,AK47-火麒麟-灵狐=41325,AK47-冰魂觉醒=41326,AK47-冰魂=41327,AK47-玉麒麟=41328,AK47-耀金伯爵=41329,AK47-游骑兵=41330,AK47-角斗士=41331,AK47-牡丹精灵=41332,AK47-沙漠领主=41333,AK47-黑武士觉醒=41334,AK47-黑武士=41335,AK47-麒麟=41336,AK47-火麒麟=41337,AK47-无影=41338,81式-光明之神=41339,81式-瑜=41340,81式-机械纪元=41341,AN94-卷帘大将军=41342,AN94-超新星=41343,HK416-混世行者=41344,SKS-美杜莎=41345,M14EBR-天神=41346,M14EBR-暗夜觉醒=41347,M14EBR-暗夜=41348,QBZ19-天使=41349,AUG-机械纪元=41350,9A91-死神=41351,SCAR-文远=41352,SCAR-幽暗骑土觉醒=41353,9A91-游骑兵=41354,SCAR-幽暗骑主=41355,QBZ95-幻兽=41356,QBZ95-天使=41357,QBZ03-湮灭=41358,剑齿虎-炫彩=41359,QBZ03-金色蔷薇=41360,98K-血月=41361,98K-黑骑士=41362,AK12-天启=41363,M200-心动次元觉醒=41364,M200-心动次元=41365,M200-幻神=41366,巴雷特-坦克堡垒=41367,巴雷特-雷霆=41368,巴雷特-变色龙=41369,巴雷特-毁灭-审判者=41370,巴雷特-安琪拉=41371,巴雷特-定军=41372,巴雷特-金色蔷薇=41373,巴雷特-枪娘=41374,巴雷特-雷神=41375,巴雷特-极光=41376,巴雷特-段灭=41377,TAC-慈=41378,TAC-天使=41379,MR1-龙吟惊沧海=41380,AWM-竞界荣光=41381,AWM-妙才=41382,AWM-裁决=41383,AWM-天龙-曼陀罗=41384,AWM-赛博时代=41385,AWM-游骑兵=41386,AWM-天龙=41387,09式狙-幻兽=41388,09式狙-天神=41389,RPK-美杜莎=41390,RPK-赤炎盘龙=41391,RPK-盘龙=41392,加特林-蟒蛇=41393,加特林-堡垒觉醒=41394,加特林-炼狱=41395,加特林-堡垒=41396,刘易斯-血月=41397,MG36-黑骑士=41398,MG3-雏凤=41399,CZS2-心动次元觉醒=41400,CZS2-心动次元=41401,CZS2-善财童子=41402,M12S-雷霆=41403,斯泰尔-蝴蝶=41404,斯泰尔-幻兽=41405,斯泰尔-恶魔=41406,QCW05-死神=41407,QCW05-未来战士=41408,MK5-极光=41409,MK5-机械纪元=41410,A180-地狱凤凰=41411,双持斯泰尔-天使=41412,汤姆逊-烈龙=41413,KSG-火力竞放觉醒=41414,KSG-火力竞放=41415,KSG-天逢元帅=41416,KSG-黑骑士=41417,贝雷塔-力拔山河=41418,AA12-雷神=41419,AA12-竞界荣光=41420,亡命之徒-幻兽=41421,蟒蛇-火力竞放觉醒=41422,蟒蛇-火力竞放=41423,蟒蛇-妙才=41424,双管猎枪-哈迪斯=41425,双管猎枪-威侯=41426,双管猎枪-黑骑士=41427,沙鹰-波塞冬=41428,沙鹰-冰锋觉醒=41429,沙鹰-明目达聪=41430,沙鹰-孟德=41431,沙鹰-竞技战魂=41432,沙鹰-幻兽=41433,沙鹰-定军=41434,沙鹰-游骑兵=41435,沙鹰-无影=41436,沙鹰-天神=41437,沙鹰-火麒麟=41438,沙鹰-飞电=41439,沙鹰-修罗=41440,MK23-幻神=41441,MK23-瑜=41442,MK23-机械纪元=41443,USP-雷暴=41444,USP-神罚=41445,双持沙鹰-金银双煞=41446,双持沙鹰-亚龙=41447,双持沙鹰-变色龙=41448,左轮-慈=41449,左轮-竞界荣光=41450,左轮-黑武士觉醒=41451,左轮-黑武士=41452,消音毛瑟-常胜=41453,COP357-雷霆=41454,COP357-星象=41455,COP357-雷神=41456,消音沙鹰-牛魔王=41457,QSZ92-天使=41458,QSZ92-金色蔷薇=41459,双持柯尔特-极光=41460,气手枪-炼狱=41461,改装GLOCK-黑龙=41462,CZ75-死神=41463,GLOCK18-武圣=41464";
        String vwq = biGetTwo(vwuqi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(vwq)) {
            paramss.put("f7", vwq.substring(1));
        }
        String renwu = "麻雀=41466,职场灵狐=41467,职场灵狐-赛事经理=41468,岚兮儿=41469,春=41470,斯薇特=41471,乔月=41472,晴雅=41473,孙悟空=41474,雾萌萌=41475,雨墨=41476,王者-零=41477,牛妹=41478,洛克=41479,云悠悠=41480,金戈=41481,傲骨=41482,蝴蝶=41483,关小雨=41484,海滩夜玫瑰=41485,子涵=41486,由乃=41487,英雄兰=41488,瞳=41489,潜龙队=41490,香香=41491,娜塔莎=41492,樱=41493,太阳神-曦=41494,幽灵刀锋=41495,幽灵刀锋-觉醒=41496,大老师=41497,堕天使=41498,孤狼=41499,周年庆纪念塞斯=41500,波塞冬=41501,龙野=41502,龙的传人-王力宏=41503,复仇者=41504,运动宝贝兰=41505,葵=41506,铁骑=41507,洛伊=41508,萝拉=41509,夏日灵狐=41510,暗影=41511,刀锋队长=41512,春节兰=41513,零=41514,猎鹰=41515,夜玫瑰-2017=41516,圣诞灵狐=41517,刀锋-2017=41518,魅惑灵狐=41519,审判者=41520,曼陀罗=41521,白狼=41522,幻影=41523,夜玫瑰=41524,兰=41525,塞斯=41526,潘多拉=41527,灵狐者=41528,猎狐者=41529,刀锋=41530,奥摩=41531,斯沃特=41532";
        String rw = biGetTwo(renwu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(rw)) {
            paramss.put("f8", rw.substring(1));
        }
        paramss.put("f9", "41535");
        if (accountInfo.getLevel().contains("包人脸")) {
            paramss.put("f10", "41661");
        } else if (accountInfo.getLevel().contains("无二次")) {
            paramss.put("f10", "41662");
        } else if (accountInfo.getLevel().contains("有二次")) {
            paramss.put("f10", "41659");
        }
        String wzwuqi = "王者之心=41733,王者之影=41734,王者之翼=41735,王者之魄=41736,王者之武=41737,王者之势=41738,王者之戮=41739,王者之怒=41740,王者之光=41741,王者之力=41742,王者之魂=41743,王者之灵=41744,王者之轮=41745,王者之电=41746,王者之锋=41747,王者之啸=41748,王者之刺=41749,王者之击=41750,王者之烈=41751,王者之圣=41752,王者之迹=41753,王者之痕=41754,王者之城=41755,王者之神=41756,王者幻神=41757,王者之狱=41758,王者之腾=41759,王者之仞=41760,王者之隐=41761";
        String wzwq = biGetTwo(wzwuqi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(wzwq)) {
            paramss.put("f11", wzwq.substring(1));
        }
        String zztaozhuang = "王者之影至尊套=41798,王者之武至尊套=41799,王者之翼至尊套=41800,王者之势至尊套=41801,王者之戮至尊套=41802,王者之城至尊套=41803,王者之力至尊套=41804,王者之光至尊套=41805,王者之怒至尊套=41806,王者之心至尊套=41807,王者之圣至尊套=41808,王者之魄至尊套=41809,王者之狱至尊套=41810,王者之神至尊套=41811,王者幻神至尊套=41812,王者之烈至尊套=41813,王者之启至尊套=41814,王者之腾至尊套=41815";
        String zztz = biGetTwo(zztaozhuang, accountInfo.getDes());
        if (StringUtils.isNotEmpty(zztz)) {
            paramss.put("f12", zztz.substring(1));
        }
        String wztaozhuang = "王者之心套=41817,王者之魄套=41818,王者之怒套=41819,王者之翼套=41820,王者之影套=41821,王者之势套=41822,王者之武套=41823,王者之光套=41824,王者之力套=41825,王者之戮套=41826,王者之圣套=41827,王者之城套=41828,王者之神套=41829,王者幻神套=41830,王者之烈套=41831,王者之狱套=41832,王者之启套=41833,王者之腾套=41834";
        String wztz = biGetTwo(wztaozhuang, accountInfo.getDes());
        if (StringUtils.isNotEmpty(wztz)) {
            paramss.put("f13", wztz.substring(1));
        }
        return paramss;
    }

    public Map<String, Object> cyhx(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 6l);
        paramss.put("gameType", "1");
        String daqu = "福建一区=41600&41599,安徽一区=41601&41599,上海一区=41602&41599,上海二区=41603&41599,浙江一区=41604&41599,浙江二区=41605&41599,江苏一区=41606&41599,江苏二区=41607&41599,移动专区=41608&41599,教育网专区=41609&41599,山西一区=41611&41610,河南一区=41612&41610,河南二区=41613&41610,河北一区=41614&41610,山东一区=41615&41610,山东二区=41616&41610,北京一区=41617&41610,北京二区=41618&41610,北京三区=41619&41610,北京四区=41620&41610,北方大区=41621&41610,辽宁一区=41622&41610,辽宁二区=41623&41610,辽宁三区=41624&41610,黑龙江区=41625&41610,吉林一区=41626&41610,四川一区=41628&41627,四川二区=41629&41627,重庆一区=41630&41627,陕西一区=41631&41627,云南一区=41632&41627,广东四区=41634&41633,南方大区=41635&41633,广东二区=41636&41633,广东三区=41637&41633,广东一区=41638&41633,湖北二区=41639&41633,江西一区=41640&41633,湖南一区=41641&41633,湖南二区=41642&41633,湖北一区=41643&41633,广西一区=41644&41633";
        String qufu = biGeTCF(daqu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(qufu)) {
            paramss.put("groupId", qufu.split(",")[1]);
            paramss.put("serverId", qufu.split(",")[0]);
        }
        if (accountInfo.getLevel().contains("包人脸")) {
            paramss.put("f3", "39867");
        } else if (accountInfo.getLevel().contains("无二次")) {
            paramss.put("f3", "39868");
        } else if (accountInfo.getLevel().contains("有二次")) {
            paramss.put("f3", "39865");
        }
        paramss.put("f4", "39870");
        String dengji = "士兵=39873,士官=39874,尉官=39875,校官=39876,将帅=39877,元帅=39878,大元首=39879,荣耀元首=39880";
        String dj = biGetFirst(dengji, accountInfo.getDes());
        if (StringUtils.isNotEmpty(dj)) {
            paramss.put("f5", dj);
        }
        String duanwei = "未定级=39882,新锐=39883,精英=39884,专家=39885,大师=39886,宗师=39887,传奇=39888,枪王=39889,荣耀枪王=39890,枪王之王=39891";
        String dw = biGetFirst(duanwei, accountInfo.getDes());
        if (StringUtils.isNotEmpty(dw)) {
            paramss.put("f6", dw);
        }

        String taozhuang = "6盘龙=39893,6烈龙=39894,6炼狱=39895,6修罗=39896,6天神=39897,6裁决=39898";
        String tz = biGetTwo(taozhuang, accountInfo.getDes());
        if (StringUtils.isNotEmpty(tz)) {
            paramss.put("f12", tz.substring(1));
        }
        String vwuqi = "M200-幻神=39900,传说辉光=39901,传说圣灵=39902,传说梦魇=39903,M200-竞技荣光=39904,传说暗裔=39905,传说光耀=39906,Kar98k-星神=39907,Scar Light-白虎=39908,雷神-葫芦兄弟=39909,龙啸-荣耀世冠=39910,雷神-荣耀世冠=39911,火麒麟-荣耀世冠=39912,AK47-无影=39913,AK47-火麒麟=39914,AK47-雷暴=39915,AK47-黑鲨=39916,AK47-黑武士=39917,AK47-麒麟=39918,AK47-机械迷城=39919,AK47-B-常胜将军=39920,AK47-B-战士=39921,AK47-B-战神=39922,AK-47-猩红传说=39923,M4A1-雷神=39924,M4A1-黑骑士=39925,黑骑士-海王=39926,M4A1-死神=39927,M4A1-黑龙=39928,M4A1-雷霆=39929,M4A1-龙血=39930,M4A1-夜魔=39931,M4A1-堕天神=39932,M4A1-武圣=39933,M4A1-千变=39934,M4A1-青龙=39935,M4A1-幻灵=39936,M4A1-猎神=39937,M4A1-玫瑰精灵=39938,Barrett-毁灭=39939,Barrett-极光=39940,Barrett-电竞装甲=39941,Barrett-朱雀=39942,Barrett-暗月传说=39943,蔷薇大炮=39944,AWM-天龙=39945,AWM-裁决=39946,AA-12-雷霆=39947,AK12-天启=39948,AN94-超新星=39949,HK417-朱雀=39950,QBZ03-金色蔷薇=39951,9A91-烈火=39952,RPK-盘龙=39953,汤姆逊-烈龙=39954,加特林-炼狱=39955,沙鹰-修罗=39956,柯尔特-电竞装甲=39957,柯尔特-荣耀世冠=39958,柯尔特-竞技荣光=39959,USP-雷暴=39960,擎天-竞技荣光=39961,COP雷霆=39962,沙鹰-天神=39963,屠龙=39964,龙啸=39965,麒麟刺=39966,擎天=39967,斩神刀-雷暴=39968,幻灵之锋=39969,王者玉锋=39970\n";
        String vwq = biGetTwo(vwuqi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(vwq)) {
            paramss.put("f13", vwq.substring(1));
        }
        String wzwuqi = "王者幻神=39972,王者星神=39973,王者之心=39974,悦蓝-惊涛骇浪=39975,王者凤吟=39976,王者风势=39977,王者之霆=39978,王者霜心=39979,王者之影=39980,王者之刺=39981,王者之翼=39982,王者之城=39983,王者炎心=39984,王者之魄=39985,王者之武=39986,王者之幻=39987,王者之势=39988,王者之戮=39989,王者之圣=39990,M4A1-雷霆王者=39991,王者冰魄=39992,王者之力=39993,王者之怒=39994,王者之光=39995,Barrett-雷霆王者=39996,王者之决=39997,王者雷怒=39998,王者火魄=39999,王者蔷薇=40000,王者之鲨=40001,王者之灵=40002,王者之魂=40003,王者之锋=40004,雷霆王者之锋=40005,王者之击=40006,王者之啸=40007,王者之烈=40008,王者白虎=40009,天启-悦智=40010,炼狱-悦蓝=40011,烈龙-悦心=40012,超新星-悦享=40013,玫瑰精灵-悦动=40014,盘龙-悦心=40015";
        String wzwq = biGetTwo(wzwuqi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(wzwq)) {
            paramss.put("f14", wzwq.substring(1));
        }
        String xjwuqi = "炫金火麒麟=40017,炫金无影=40018,炫金黑武士=40019,炫金雷神=40020,炫金黑龙=40021,炫金黑骑士=40022,炫金千变=40023,炫金超新星=40024,炫金毁灭=40025,炫金天龙=40026,炫金修罗=40027,炫金天神=40028";
        String xjwq = biGetTwo(xjwuqi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(xjwq)) {
            paramss.put("f15", xjwq.substring(1));
        }
        String akpifu = "火麒麟CFS2018=40030,无影-霓裳皮肤=40031,火麒麟斗鱼皮肤=40032,天启-暗月=40033,AK47-B-常胜将军-孙权=40034,AK47-B-常胜将军-曹操=40035,AK47-B-常胜将军-刘备=40036,战神-流金岁月皮肤=40037,战神-紫绶金章皮肤=40038,战神-粉色甜心皮肤=40039,AK47-老兵传说皮肤=40040,黑武士-典韦皮肤=40041,AK47-黑武士-361=40042,无影耀金皮肤=40043,火麒麟-CF STAR=40044,无影-能量核心=40045,无影-暗月=40046,火麒麟-平天大圣=40047,传奇石头-横秒之巅=40048,火麒麟-战神关羽=40049,火麒麟-轻羽皮肤=40050,AK47-火麒麟-传奇EVEN=40051,火麒麟-华夏之心=40052,火麒麟-冠军之心=40053,火麒麟-雷神=40054,火麒麟-AG战队皮肤=40055,火麒麟-企鹅电竞皮肤=40056,火麒麟-2022新春kwai乐=40057,火麒麟-盘古=40058";
        String akpf = biGetTwo(akpifu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(akpf)) {
            paramss.put("f16", akpf.substring(1));
        }
        String m4pifu = "黑龙-能量核心=40060,黑骑士-AG-S4冠军典藏=40061,黑骑士-冠军之势=40062,黑骑士-虎牙皮肤=40063,黑骑士-地狱火=40064,黑骑士-战神马超=40065,黑骑士-CFS2021=40066,M4A1-千变-孔明皮肤=40067,黑骑士-白马银枪=40068,黑骑士-暗月=40069,M4A1-死神-秘银=40070,黑骑士-伏羲=40071,雷神虎牙皮肤=40072,雷神猎虎皮肤=40073,雷神杨戬=40074,雷神-R.LGD-CFPLS18冠军=40075,雷神-机甲刑天皮肤=40076,黑骑士-耀金皮肤=40077,雷神-杨戬=40078,黑龙-暗月=40079,雷神-星空=40080,M4A1-黑龙-361=40081,黑龙-墨子皮肤=40082,黑龙-冠军之武=40083,雷神-暗月=40084,雷神-能量核心=40085,雷神-荣耀之魂=40086,雷神-斗鱼皮肤=40087,雷神-宠儿-2019MVP=40088,M4A1-雷神FCS 2019=40089,雷神-虎将=40090,雷神-耀金皮肤=40091,雷神-白沙-CFPLS14冠军=40092,雷神-冠军之魄=40093,雷神-传奇N9=40094,M4A1-战神赵云=40095,CFPL十周年=40096";
        String m4pf = biGetTwo(m4pifu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(m4pf)) {
            paramss.put("f17", m4pf.substring(1));
        }
        String jjqpifu = "毁灭-暗月=40176,毁灭-青帝=40177,AWM-天龙-传奇70KG=40178,AWM-天龙-传奇白鲨=40179,幻神冠军之幻=40180,幻神-宠儿=40181,毁灭-枪娘格雷姐妹=40182,毁灭-QQ会员=40183,毁灭-风暴=40184,天龙-秘银=40185,毁灭-魔灵=40186,毁灭-神秘黑洞=40187,毁灭-直播专属=40188,星神璀璨=40189,毁灭-宠儿=40190,M200-幻神-丹凤=40191,幻神-CFS2022=40192,天龙-能量核心=40193,天龙-CF STAR=40194,毁灭-荣耀之怒=40195,毁灭-CFS2020=40196,毁灭-CFS2018=40197,毁灭耀金皮肤=40198,毁灭-星空=40199,巴雷特-虎牙皮肤=40200,毁灭-AG-CFPLS15冠军=40201,毁灭-冠军之怒=40202,毁灭-CFPLS16皮肤=40203,幻神-AG-CFPLS17冠军=40204,毁灭-战神张飞=40205,毁灭-BEAN-2020MVP=40206,毁灭-黑大圣皮肤=40207,Barrett-极光-能量核心=40208,M200-幻神-黄忠=40209,M200-幻神-周瑜=40210,幻神-冠军之幻=40211,幻神-巅峰荣耀=40212";
        String jjqpf = biGetTwo(jjqpifu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(jjqpf)) {
            paramss.put("f18", jjqpf.substring(1));
        }
        String renwu = "审判者=40136,沙漠玫瑰=40137,零=40138,魅影=40139,凌霄=40140,蝴蝶=40141,孤影=40142,雅典娜=40143,堕落女神=40144,迷迭香=40145,樱=40146,旧-海豹突击队=40147,传说女帝=40148,影豹=40149,雨棠=40150,王者涂鸦=40151,鹰=40152,电竞教官-云悠悠=40153,葵=40154,瞳=40155,王者-零=40156,王者复仇=40157,王者-葵-貂蝉=40158,王者樱-热浪之夏=40159,王者之瞳=40160,王者-魅影=40161,王者-迷迭香=40162,王者蝴蝶=40163,王者玲珑=40164,王者王力宏=40165,春=40166,王者救世主=40167,王者玲珑-小乔=40168,王者葵-惊若翩鸿=40169,王者-零-华冠丽服=40170,王者-瞳-闭月羞花=40171,王者-零-国色天香=40172,王者-零-传说之路=40173,炫=40174,王者-沙漠玫瑰=40175";
        String rw = biGetTwo(renwu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(rw)) {
            paramss.put("f19", rw.substring(1));
        }

        String yxdaoju = "AK47-火麒麟音效卡=40214,M4A1-雷神音效卡=40215,Barrett-毁灭音效卡=40216,Barrett-极光音效卡=40217,M4A1-黑龙音效卡=40218,M4A1-黑骑士音效卡=40219,AWM-裁决音效卡=40220,M200-幻神音效卡=40221,70KG语音包=40222,白鲨语音包=40223,绝迹语音包=40224,N9语音包=40225";
        String yxdj = biGetTwo(yxdaoju, accountInfo.getDes());
        if (StringUtils.isNotEmpty(yxdj)) {
            paramss.put("f20", yxdj.substring(1));
        }
        return paramss;
    }

    public Map<String, Object> hpjy(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 3l);
        paramss.put("gameType", "0");
        if (accountInfo.getRegional().contains("苹果")) {
            paramss.put("systemId", 38834l);
        }
        if (accountInfo.getRegional().contains("安卓")) {
            paramss.put("systemId", 38835l);
        }
        if (accountInfo.getRegional().contains("Q")) {
            paramss.put("carrierId", 38838l);
            paramss.put("groupId", 41547l);
            paramss.put("serverId", 41695l);
        }
        if (accountInfo.getRegional().contains("WX")) {
            paramss.put("carrierId", 38839l);
            paramss.put("groupId", 41548l);
            paramss.put("serverId", 41696l);
        }
        String qiangxie = "SCAR-L-桃夭倾城=38250,GROZA-旋转彩虹=38251,汤姆逊-冰川粉黛=38252,M249-彩虹甜喵=38253,M16A4-垂柳戏鸭=38254,UMP45-玉魂晶魄=38255,M416五爪金龙=38256,M416心之恋语=38257,M416风花雪月=38258,M416暖熊萌萌=38259,AKM甜心宝贝=38260,AKM炫紫旋律=38261,AKM梦之光华=38262,AKM百合蜜语=38263,M16A4葫芦兄弟=38264,SCARL机甲封神=38265,SCARL童趣迷兔=38266,SCARL梦幻火箭=38267,SCARL青春物语=38268,SCARL甜梦小狐=38269,GROZA焦糖拿铁=38270,GROZA香水柠檬=38271,AUG星之彼岸=38272,AUG妙趣可丽=38273,M762甜心娃娃=38274,M762激战未来=38275,M762甜蜜誓约=38276,M762冷魅冰骑=38277,Kar98K暗翼战神=38278,Kar98K绿意幻情=38279,Kar98K伏魔团=38280,Kar98K圣光天使=38281,M24暗星紫秘=38282,M24星之信仰=38283,AWM橘柚倾心=38284,AWM焰龙焚天=38285,AWM花间之火=38286,SKS碧影闪光=38287,SKS诡面斩=38288,VSS烈焰拳霸=38289,Mini14龙虾霸霸=38290,Mini14荧光虫舞=38291,Mini14绚金瑰梦=38292,SLR暗夜玫瑰=38293,UZI绮梦青鸾=38294,UZI筑梦精灵=38295,UMP45相思残雪=38296,UMP45雪国精灵=38297,UMP45恐龙拽拽=38298,Vector红伞翩翩=38299,Vector环太平洋=38300,野牛流星咚咚=38301,汤姆逊怪笑疯兔=38302,S12K海渊国主=38303,汤姆逊荒漠赏金=38304,DP28枪炮玫瑰=38305,DP28扶摇飞仙=38306,DP28幻梦音符=38307,M249古战神甲=38308,M249蓝莓炮弹=38309,MG3洛神天依=38310,MG3炙焰牛王=38311,平底锅林间仙鹿=38312,Vector-灵感创作师=38313,M416-至情至圣=38314,M24-翩跹演武=38315,M762-瑞龙福将=41715";
        String qx = biGetTwo(qiangxie, accountInfo.getDes());
        if (StringUtils.isNotEmpty(qx)) {
            paramss.put("f1", qx.substring(1));
        }
        String zaiju = "僚机=38447,玛莎拉蒂Grecale(薄荷绿)=38448,极速兔兔车=38449,兰博基尼Estoque(炫光金)=38450,兰博基尼Estoque(尊享铂)=38451,兰博基尼Estoque(银翼灰)=38452,兰博基尼AventadorSVJ(炫光金)=38453,兰博基尼AventadorSVJ(尊享铂)=38454,兰博基尼AventadorSVJ(翡翠绿)=38455,兰博基尼URUS(炫光金)=38456,兰博基尼URUS(尊享铂)=38457,兰博基尼URUS(明艳黄)=38458,金龙耀世=38459,焰龙咆哮=38460,海龙奔腾=38461,萌喵橘座=38462,灵鼠银迹=38463,鬼马风驰=38464,特斯拉Roadster(尊享铂)=38465,特斯拉Roadster(沁心粉)=38466,特斯拉Roadster(水滴蓝)=38467,特斯拉Cybertruck(镭光铂)=38468,特斯拉Cybertruck(荒芜蓝)=38469,特斯拉Cybertruck(极昼黑)=38470,快艇-塞莎KL27(鲸之蓝)=38471,快艇-塞莎KL27(霓虹粉)=38472,快艇-塞莎KL27(深潜蓝)=38473,双人摩托-双刃魅影(金)=38474,双人摩托-双刃魅影(红)=38475,双人摩托-双刃魅影(绿)=38476,阿斯顿·马丁DBS(金)=38477,阿斯顿·马丁DBS(红)=38478,阿斯顿·马丁DBS(绿)=38479,阿斯顿·马丁DBX(金)=38480,阿斯顿·马丁DBX(橙)=38481,阿斯顿·马丁DBX(蓝)=38482,合金龙骨(红)=38483,合金龙骨(蓝)=38484,合金龙骨(绿)=38485,特斯拉Model3-奇幻紫=38486,特斯拉Model3-珍珠白=38487,特斯拉Model3-冷光银=38488,特斯拉ModelX-奇幻紫=38489,特斯拉ModelX-冷光银=38490,特斯拉ModelX-珍珠白=38491,双人摩托-梦幻火箭=38492,玛莎拉蒂Ghibli(金)=38493,玛莎拉蒂Ghibli(粉)=38494,玛莎拉蒂Ghibli(蓝)=38495,南瓜骑士=38496,路特斯ELETRE(冰川蓝)=38497,路特斯ELETRE(电光紫)=38498,路特斯ELETRE(花绽灰)=38499,路特斯EVIJA(电光紫)=38500,路特斯EVIJA(星际黄)=38501,快艇-自由的鲸=38502,俏皮小熊猫=38503,软萌羊咩咩=38504,玛莎拉蒂Grecale(幻星粉)=38505,玛莎拉蒂MC20(星石白)=38506,玛莎拉蒂Quattroporte(幻星粉)=38507,玛莎拉蒂Quattroporte(夜幕蓝)=38508,玛莎拉蒂MC20(幻星粉)=38509,南瓜车=41763";
        String zj = biGetTwo(zaiju, accountInfo.getDes());
        if (StringUtils.isNotEmpty(zj)) {
            paramss.put("f2", zj.substring(1));
        }
        String feixingqi = "桃夭倾城飞行器=38512,冰川粉黛飞行器=38513,绒雪飘舞飞行器=38514,闪光银龙飞行器=38515,星夜魔法师飞行器=38516,荒漠赏金飞行翼=38517,霓虹街区飞行器=38518,闪耀银龙飞行器=38519,甜梦小狐飞行器=38520,幻梦音符飞行器=38521,冷魅冰骑飞行器=38522,庄周梦蝶飞行器=38523,青春物语飞行器=38524,焦糖拿铁飞行器=38525,天之羽翼飞行器=38526,甜心娃娃飞行器=38527,绚金瑰梦飞行器=38528,绿意幻情飞行器=38529,红伞翩翩飞行器=38530,齐天大圣飞行器=38531,风花雪月飞行器=38532,林间仙鹿飞行器=38533,焰龙焚天飞行器=38534,机甲封神飞行器=38535,枪炮玫瑰飞行器=38536,古战神甲飞行器=38537,梦之光华飞行器=38538,相思残雪飞行器=38539,星之彼岸飞行器=38540,绮梦青鸾飞行器=38541,王牌四分卫飞行器=38542,暗翼战神飞行器=38543,终极赛罗飞行器=38544,童趣迷兔飞行器=38545,激战未来飞行器=38546,阿狸红飞行器=38547,诡面斩飞行器=38548,夏日绵绵冰飞行器=38549,锦绣火鲤飞行器=38550,潮汐统领飞行器=38551,花间之火飞行器=38552,马卡龙飞行器=38553,扶摇飞仙飞行器=38554,心之恋语飞行器=38555,四圣焕新飞行器=38556,甜蜜誓约飞行器=38557,伏魔团飞行器=38558,古堡领主飞行器=38559,神秘黑猫飞行器=38560,PEL轰鸣竞梦者飞行器=38561,繁花小夜曲飞行翼=38562,深海曼妙飞行器=38563,炫紫旋律飞行器=38564,星之信仰飞行翼=38565,精灵迷巫飞行器=38566,梦幻火箭飞行器=38567,春暖花开飞行器=38568,至尊龙雀飞行服=38569,荧光虫舞飞行器=38570,灵感创作师飞行器=38571,翩跹演武飞行器=38572,太空嘟嘟飞行器=38573";
        String fxq = biGetTwo(feixingqi, accountInfo.getDes());
        if (StringUtils.isNotEmpty(fxq)) {
            paramss.put("f3", fxq.substring(1));
        }
        String jiangluosan = "桃夭倾城降落伞=38576,旋转彩虹降落伞=38577,冰川粉黛降落伞=38578,绒雪飘舞降落伞=38579,荒漠赏金降落伞=38580,闪耀银龙降落伞=38581,妙趣可丽降落伞=38582,炙焰牛王降落伞=38583,甜梦小狐降落伞=38584,筑梦精灵降落伞=38585,幻梦音符降落伞=38586,冷魅冰骑降落伞=38587,庄周梦蝶降落伞=38588,碧影闪光降落伞=38589,焦糖拿铁降落伞=38590,天之羽翼降落伞=38591,暗星紫秘降落伞=38592,甜心娃娃降落伞=38593,流星咚咚降落伞=38594,绚金瑰梦降落伞=38595,绿意幻情降落伞=38596,蓝莓炮弹降落伞=38597,红伞翩翩降落伞=38598,海渊国主降落伞=38599,洛神天依降落伞=38600,齐天大圣降落伞=38601,风花雪月降落伞=38602,林间仙鹿降落伞=38603,暗夜玫瑰降落伞=38604,焰龙焚天降落伞=38605,机甲封神降落伞=38606,葫芦兄弟降落伞=38607,枪炮玫瑰降落伞=38608,古战神甲降落伞=38609,烈焰拳霸降落伞=38610,梦之光华降落伞=38611,怪笑疯兔降落伞=38612,相思残雪降落伞=38613,星之彼岸降落伞=38614,绮梦青鸾降落伞=38615,王牌四分卫降落伞=38616,暗翼战神降落伞=38617,银刃赛罗降落伞=38618,童趣迷兔降落伞=38619,激战未来降落伞=38620,香水柠檬降落伞=38621,阿狸红降落伞=38622,诡面斩降落伞=38623,夏日绵绵冰降落伞=38624,锦绣火鲤降落伞=38625,潮汐统领降落伞=38626,花间之火降落伞=38627,马卡龙降落伞=38628,扶摇飞仙降落伞=38629,心之恋语降落伞=38630,四圣焕新降落伞=38631,甜蜜誓约降落伞=38632,繁花小夜曲降落伞=38633,伏魔团降落伞=38634,古堡领主降落伞=38635,神秘黑猫降落伞=38636,PEL轰鸣竞梦者降落伞=38637,深海曼妙降落伞=38638,炫紫旋律降落伞=38639,金风玉露降落伞=38640,龙虾霸霸降落伞=38641,天启纪元降落伞=38642,华贵君王降落伞=38643,星之信仰降落伞=38644,精灵迷巫降落伞=38645,梦幻火箭降落伞=38646,春暖花开降落伞=38647,雪国幻梦降落伞=38648,银河战甲降落伞=38649,至尊龙雀降落伞=38650,凝视深渊降落伞=38651,甜心宝贝降落伞=38652,荒野猎神降落伞=38653,粉色回忆降落伞=38654,南瓜骑士降落伞=38655,未来战士降落伞=38656,百万伏特降落伞=38657,星际漫游者降落伞=38658,幻影战神降落伞=38659,极限特训降落伞=38660,荧光虫舞降落伞=38661,灵感创作师降落伞=38662,翩跹演武降落伞=38663,太空嘟嘟降落伞=38664,彩虹甜喵降落伞=38665";
        String jls = biGetTwo(jiangluosan, accountInfo.getDes());
        if (StringUtils.isNotEmpty(jls)) {
            paramss.put("f4", jls.substring(1));
        }
        String taozhuang = "桃夭倾城=38668,旋转彩虹=38669,冰川粉黛=38670,冰川幽秘=38671,冰川红玫=38672,彩虹甜喵=38673,霓裳武神=38674,垂柳戏鸭=38675,碧影闪光=38676,焦糖拿铁=38677,天之羽翼=38678,暗星紫秘=38679,甜心娃娃=38680,精灵娃娃=38681,酣梦娃娃=38682,流星咚咚=38683,绚金瑰梦=38684,幻情紫藤=38685,青葱仙萝=38686,金风银杏=38687,蓝莓炮弹=38688,红伞翩翩=38689,黄伞悠悠=38690,黑伞漫漫=38691,海渊国主=38692,洛天依=38693,齐天大圣=38694,沙场疾风=38695,花影阑珊=38696,俏雪含霜=38697,吟月归客=38698,林间仙鹿=38699,彩虹鹿灵=38700,山涧鹿灵=38701,暗夜玫瑰=38702,焰龙焚天=38703,银龙傲海=38704,骨龙祭渊=38705,铁血龙王=38706,显圣真君=38707,桀骜红莲=38708,葫芦兄弟=38709,枪炮玫瑰=38710,蜜桃特工=38711,蝶舞蔷薇=38712,虎啸骄阳=38713,炙焰赤龙=38714,飓风飞鹰=38715,烈焰拳霸=38716,甜梦冰蝶=38717,绿野柔风=38718,馨动时刻=38719,相思残雪=38720,星之彼岸=38721,绮梦青鸾=38722,王牌四分卫=38723,暗翼战神=38724,银刃赛罗=38725,童趣迷兔=38726,冰霜白皇=38727,炙焰红王=38728,绚金战神=38729,翡翠骑士=38730,苍蓝魅影=38731,香水柠檬=38732,俏皮狐尾=38733,诡面斩=38734,草莓生巧=38735,迷蝶贵族=38736,星点战士=38737,铁甲悍将=38738,黄蜂伯爵=38739,鳞翅贤者=38740,锦绣火鲤=38741,潮汐统领=38742,花间之火=38743,幻彩马卡龙=38744,扶摇飞仙=38745,心之恋语=38746,极致幻想=38747,星空之魅=38748,甜蜜誓约=38749,向日葵=38750,慧云及圣=38751,天禅智恒=38752,狩月元帅=38753,琉璃脉冲=38754,新星烈龙=38755,古堡领主=38756,PEL轰鸣竞梦者=38757,深海曼妙=38758,金属狂野=38759,静灵氛围=38760,智能音符=38761,缤纷油彩=38762,放客神游=38763,金风玉露=38764,麻辣鲜香锅=38765,天启纪元=38766,华贵君王=38767,星之信仰=38768,精灵迷巫=38769,梦幻火箭=38770,蝶舞迷情=38771,雪国幻梦=38772,守护骑士=38773,银河战甲=38774,金曜白虎=38775,木曜青龙=38776,水曜玄武=38777,火曜朱雀=38778,土曜战麒=38779,深渊皇后=38780,甜心巧克力=38781,宝贝奶油派=38782,天使彩虹糖=38783,荒野猎神=38784,粉色回忆=38785,南瓜骑士=38786,未来战士=38787,数码大师=38788,星际漫游者=38789,幻影战神=38790,极限特训=38791,赛罗闪耀型=38792,快乐主宰=38793,闪耀迪迦=38794,初号机款机体服=38795,独舞天鹅=38796,薄荷物语=38797,海盐物语=38798,怪诞乔克=38799,岚岚物语=38800,百合蜜语=38801,恐龙拽拽=38802,紫鸢之舞=38803,星云玉兔=38804,庄周梦蝶=38805,冷魅冰骑=38806,紫电风暴=38807,赤焰黑爵=38808,橘柚倾心=38809,幻梦音符=38810,绚丽摇曳=38811,闪耀律动=38812,筑梦精灵=38813,甜梦小狐=38814,炙焰牛王=38815,星夜魔法师=38816,圣光天使=38817,霞光骑士=38818,寒光使者=38819,妙趣可丽=38820,闪耀银龙=38821,暖熊萌萌=38822,复仇流浪者=38823,荒漠赏金=38824,灵感创作师=38825,盖世英雄=38826,鸾凤武仙=38827,朗月武圣=38828,太空嘟嘟=38829,木乃伊=41710,浪漫波比=41711,团圆交子=41712,暗影哥特(红眼罩)=41713,瑞龙福将=41714";
        String tz = biGetTwo(taozhuang, accountInfo.getDes());
        if (StringUtils.isNotEmpty(tz)) {
            paramss.put("f5", tz.substring(1));
        }
        paramss.put("f6", "38831");
        paramss.put("f7", "0");
        paramss.put("f8", accountInfo.getSuit() == null || accountInfo.getSuit().equals("") ? "0" : accountInfo.getSuit());
        paramss.put("f9", accountInfo.getGuns() == null || accountInfo.getGuns().equals("") ? "0" : accountInfo.getGuns());
        if (StringUtils.isNotEmpty(accountInfo.getLevel())) {
            if (accountInfo.getLevel().contains("包人脸")) {
                paramss.put("f10", "38854");
            } else if (accountInfo.getLevel().contains("可二次") || accountInfo.getLevel().contains("有二次")) {
                paramss.put("f10", "38851");
            } else if (accountInfo.getLevel().contains("实名已删")) {
                paramss.put("f10", "38853");
            } else if (accountInfo.getLevel().contains("无二次")) {
                paramss.put("f10", "38852");
            } else {
                paramss.put("f10", "38852");
            }
        } else {
            paramss.put("f10", "38852");
        }
        paramss.put("f11", "0");
        paramss.put("f12", "0");
        paramss.put("f13", accountInfo.getCampId() == null || accountInfo.getCampId().equals("") ? "123456" : accountInfo.getCampId());
        paramss.put("f14", "41777");
        String duanwei = "青铜=41767,白银=41768,黄金=41769,铂金=41770,星钻=41771,皇冠=41772,王牌=41773,战神=41774";
        String dw = biGetFirst(duanwei, accountInfo.getDes());
        if (StringUtils.isNotEmpty(dw)) {
            paramss.put("f15", dw);
        }
        paramss.put("f16", "0");
        paramss.put("f17", "亮点");
        return paramss;
    }

    public Map<String, Object> wzry(AccountInfo accountInfo, Map<String, Object> paramss) {
        paramss.put("gameId", 2l);
        paramss.put("gameType", "0");
        if (accountInfo.getRegional().contains("苹果")) {
            paramss.put("systemId", 38240l);
        }
        if (accountInfo.getRegional().contains("安卓")) {
            paramss.put("systemId", 38241l);
        }
        if (accountInfo.getRegional().contains("Q")) {
            paramss.put("carrierId", 38243l);
            paramss.put("groupId", 38246l);
            paramss.put("serverId", 41683l);
        }
        if (accountInfo.getRegional().contains("WX")) {
            paramss.put("carrierId", 38244l);
            paramss.put("groupId", 38248l);
            paramss.put("serverId", 41684l);
        }
        paramss.put("f1", "30");
        String guizu = "V1=41699,V2=41700,V3=41701,V4=41702,V5=41703,V6=41704,V7=41705,V8=41706,V9=41707,V10=41708";
        String gz = biGetFirst(guizu, accountInfo.getDes());
        if (StringUtils.isNotEmpty(gz)) {
            paramss.put("f2", gz);
        } else {
            paramss.put("f2", "41699");
        }
        String duanwei = "青铜=37806,白银=37807,黄金=37808,铂金=37809,钻石=37810,星耀=37811,最强王者=37812,无双王者=37813,荣耀王者=37814,传奇王者=37815";
        String dw = biGetFirst(duanwei, accountInfo.getDes());
        if (StringUtils.isNotEmpty(dw)) {
            paramss.put("f3", dw);
        }
        paramss.put("f4", "0");
        String yingxiong = "武则天=37818,嬴政=37819,不知火舞=37820,橘右京=37821,夏洛特=37822,娜可露露=37823,韩信=37824,艾琳=37825,赵云=41762";
        String yx = biGetTwo(yingxiong, accountInfo.getDes());
        if (StringUtils.isNotEmpty(yx)) {
            paramss.put("f5", yx.substring(1));
        }
        paramss.put("f6", "0");
        paramss.put("f7", accountInfo.getHeroes() == null || accountInfo.getHeroes().equals("") ? "0" : accountInfo.getHeroes());
        paramss.put("f8", accountInfo.getSkins() == null || accountInfo.getSkins().equals("") ? "0" : accountInfo.getSkins());


        String diancang = "关羽-赤影疾锋=37828,花木兰-九霄神辉=37829,程咬金-活力突击=37830,李白-鸣剑·曳影=37831,鲁班七号-星空梦想=37832,芈月-大秦宣太后=37833,孙尚香-杀手不太冷=37834,孙悟空-全息碎影=37835,武则天-倪克斯神谕=37836,夏侯惇-无限飓风号=37837,小乔-天鹅之梦=37838,诸葛亮-星域神启=37839,貂蝉-幻阙歌=41786,凯-银白咏叹调=41787";
        String dc = biGetWz(diancang, accountInfo.getDes());
        if (StringUtils.isNotEmpty(dc)) {
            paramss.put("f9", dc.substring(1));
        }

        String xingyuan = "狄仁杰-星际治安官=37842,刘备-时之羁绊=37843,刘备-时之思念=37844,瑶-时之愿境=37845,孙尚香-未来机甲=37846,武则天-幻海之心=37847,孙悟空-幽冥火=37848,宫本武藏-幽冥之眼=37849,貂蝉-金色仲夏夜之梦=37850,孙悟空-零号·雷霆=37851";
        String xy = biGetWz(xingyuan, accountInfo.getDes());
        if (StringUtils.isNotEmpty(xy)) {
            paramss.put("f10", xy.substring(1));
        }

        String shis = "墨子-降魔=37854,元歌-无心=37855,上官婉儿-神器·万象笔=37856,顽趣-阿古朵=37857,圆梦繁星-盾山=37858,天降福星-梦奇=37859,鬼谷子-五谷丰年=37860,弈星-滕王阁序=37861,妲己-时之奇旅=37862,赵云-未来纪元=37863,钟无艳-超时空战士=37864,庄周-天秀·幻梦=37865,鲁班大师-匿光启智者=37866,金蝉-唐三藏=37867,张良-千筹问战=37868,狂铁-电玩高手=37869,高渐离-天秀·音浪=37870,貂蝉-唤灵魅影=37871,艾琳-奇遇舞章=37872,澜-赏金猎手=37873,明世隐-吟游魔法=37874,公孙离-玉兔公主=37875,赵云-百木心枪=37876,夏洛特-永昼=37877,阿轲-暗夜猫娘=37878,阿轲-节奏热浪=37879,阿轲-迷踪丽影=37880,安琪拉-魔法小厨娘=37881,安琪拉-心灵骇客=37882,安琪拉-时之奇旅=37883,白起-星夜王子=37884,百里守约-特工魅影=37885,百里守约-朱雀志=37886,百里玄策-原初追逐者=37887,百里玄策-热力回旋=37888,不知火舞-魅语=37889,蔡文姬-舞动绿茵=37890,蔡文姬-奇迹圣诞=37891,曹操-幽灵船长=37892,曹操-天狼征服者=37893,蔡文姬-繁星吟游=37894,嫦娥-如梦令=37895,嫦娥-拒霜思=37896,程咬金-功夫厨神=37897,妲己-女仆咖啡=37898,妲己-魅力维加斯=37899,妲己-热情桑巴=37900,妲己-时之彼端=37901,大乔-猫狗日记=37902,大乔-白蛇=37903,大乔-白鹤梁神女=37904,狄仁杰-魔术师=37905,狄仁杰-鹰眼统帅=37906,典韦-蓝屏警告=37907,典韦-岱宗=37908,貂蝉-圣诞恋歌=37910,貂蝉-逐梦之音=37911,东皇太-逐梦之光=37912,伽罗-箭羽风息=37913,伽罗-天狼溯光者=37914,干将莫邪-冰霜恋舞曲=37915,干将莫邪-真爱魔法=37916,公孙离-蜜橘之夏=37917,公孙离-无限星赏官=37918,宫本武藏-鬼剑武藏=37919,关羽-冰锋战神=37920,韩信-白龙吟=37921,韩信-逐梦之影=37922,韩信-飞衡=37923,韩信-傲雪梅枪=37924,后羿-辉光之辰=37925,后羿-如梦令=37926,花木兰-水晶猎龙者=37927,花木兰-青春决赛季=37928,花木兰-瑞麟志=37929,花木兰-默契交锋=37930,黄忠-烈魂=37932,橘右京-修罗=37933,黄忠-火炮绅士=37934,镜-匿光追影者=37935,铠-曙光守护者=37936,铠-青龙志=37937,兰陵王-暗隐猎兽者=37938,兰陵王-驯魔猎人=37939,老夫子-圣诞老人=37940,老夫子-航海奇遇记=37941,李白-千年之狐=37942,李元芳-逐浪之夏=37943,李元芳-银河之约=37944,廉颇-地狱岩魂=37945,廉颇-寅虎·御盾=37946,刘邦-德古拉伯爵=37947,刘禅-绅士熊喵=37948,刘禅-天才门将=37949,露娜-紫霞仙子=37950,露娜-一生所爱=37951,鲁班七号-电玩小子=37952,鲁班七号-狮舞东方=37953,鲁班七号-乒乒小将=37954,吕布-圣诞狂欢=37955,吕布-末日机甲=37956,吕布-御风骁将=37957,马超-神威=37958,马可波罗-暗影游猎=37959,马可波罗-逐梦之星=37960,蒙犽-狂想玩偶喵=37961,蒙犽-龙鼓争鸣=37962,米莱狄-胡桃异想国=37963,墨子-金属风暴=37964,芈月-白晶晶=37965,墨子-龙骑士=37966,哪吒-逐梦之翼=37967,娜可露露-晚萤=37968,哪吒-雪上飞焰=37969,牛魔-奔雷神使=37970,裴擒虎-梅西=37971,裴擒虎-天狼狩猎者=37972,上官婉儿-梁祝=37973,裴擒虎-李小龙=37974,上官婉儿-天狼绘梦者=37975,沈梦溪-月团寄思=37976,苏烈-玄武志=37977,司马懿-暗渊魔法=37978,孙膑-天狼运算者=37979,孙膑-寅虎·展翼=37980,孙策-猫狗日记=37981,孙尚香-水果甜心=37982,孙尚香-蔷薇恋人=37983,孙悟空-大圣娶亲=37984,孙尚香-时之恋人=37985,孙悟空-至尊宝=37986,孙悟空-孙行者=37987,王昭君-凤凰于飞=37988,王昭君-偶像歌手=37989,西施-诗语江南=37990,夏侯惇-乘风破浪=37991,项羽-苍穹之光=37992,项羽-霸王别姬=37993,小乔-纯白花嫁=37994,小乔-缤纷独角兽=37995,小乔-青蛇=37996,雅典娜-冰冠公主=37997,雅典娜-神奇女侠=37998,雅典娜-黎明之约=37999,亚瑟-心灵战警=38000,杨玉环-遇见飞天=38001,杨戬-天秀·启明=38002,杨玉环-寅虎·心曲=38003,嬴政-摇滚巨星=38004,瑶-遇见神鹿=38005,嬴政-暗夜贵公子=38006,虞姬-霸王别姬=38007,嬴政-优雅恋人=38008,嬴政-白昼王子=38009,元歌-云间偶戏=38010,云中君-纤云弄巧=38011,云中君-时之祈愿=38012,张飞-虎魄=38013,张飞-乱世虎臣=38014,赵云-皇家上将=38015,赵云-龙胆=38016,赵云-引擎之心=38017,甄姬-冰雪圆舞曲=38018,甄姬-游园惊梦=38019,甄姬-幽恒=38020,甄姬-女儿国国王=38021,钟馗-乐园奇幻夜=38022,钟无艳-王者之锤=38023,周瑜-真爱至上=38024,诸葛亮-黄金分割率=38025,猪八戒-猪悟能=38026,庄周-云端筑梦师=38027,庄周-玄嵩=38028,庄周-高山流水=38029,夏侯惇-匿光决锋者=38030";
        String ss = biGetWz(shis, accountInfo.getDes());
        if (StringUtils.isNotEmpty(ss)) {
            paramss.put("f11", ss.substring(1));
        }
        String chuanshuo = "项羽-无限倾心=38033,虞姬-无限倾心=38034,曜-山海·苍雷引=38035,小乔-山海·琳琅生=38036,孙悟空-齐天大圣=38037,李信-山海·炽霜斩=38038,李白-诗剑行=38039,狄仁杰-神器·狴犴令=38040,不知火舞-绯月行=38041,王昭君-星穹之声=38042,百里守约-碎云=38043,橘右京-枫霜尽=38044,娜可露露-前尘镜=38045,孙尚香-音你闪耀=38046,马可波罗-深海之息=38047,后羿-无尽星芒=38048,马超-无双飞将=38049,大乔-挚爱花嫁=38050,孙策-挚爱之约=38051,蔡文姬-花朝如约=38052,百里玄策-白虎志=38053,达摩-黄金狮子座=38054,狄仁杰-超时空战士=38055,貂蝉-仲夏夜之梦=38056,貂蝉-猫影幻舞=38057,貂蝉-遇见胡旋=38059,伽罗-太华=38060,干将莫邪-久胜战神=38061,公孙离-祈雪灵祝=38062,宫本武藏-地狱之眼=38063,关羽-武圣=38064,后羿-黄金射手座=38065,花木兰-冠军飞将=38066,镜-炽阳神光=38067,铠-绛天战甲=38068,兰陵王-默契交锋=38069,李白-凤求凰=38070,李信-一念神魔=38071,李元芳-飞鸢探春=38072,刘备-时之恋人=38073,鲁班-寅虎·瑞焰=38074,吕布-天魔缭乱=38075,梦奇-胖达荣荣=38076,女娲-补天=38077,裴擒虎-寅虎·赤拳=38078,孙策-末日机甲=38079,孙尚香-末日机甲=38080,孙尚香-异界灵契=38081,孙悟空-地狱火=38082,孙悟空-零号·赤焰=38083,王昭君-乞巧织情=38084,武则天-海洋之心=38085,西施-游龙清影=38086,小乔-音你心动=38087,杨戬-永曜之星=38088,瑶-时之祈愿=38089,曜-云鹰飞将=38090,曜-李逍遥=38091,虞姬-云霓雀翎=38092,虞姬-启明星使=38093,张良-黄金白羊座=38094,赵云-淬星耀世=38095,周瑜-音你心动=38096,诸葛亮-武陵仙君=38097,诸葛亮-时雨天司=38098,露娜-启示之音=38099,吕布-怒海麟威=38100";
        String cs = biGetWz(chuanshuo, accountInfo.getDes());
        if (StringUtils.isNotEmpty(cs)) {
            paramss.put("f12", cs.substring(1));
        }
        paramss.put("f13", "0");
//        paramss.put("f14", "38237");
        String yongzhe = "杨戬-潮玩骑兵=38103,裴擒虎-擒涛扼浪=38104,赵怀真-太极少年=38105,刘备-潮玩造梦师=38106,沈梦溪-大漠名商=38107,王昭君-午后时光=38108,米莱狄-契约魔法=38109,蒙恬-蔚蓝守将=38110,蒙犽-胡桃狂想曲=38111,刘禅-唤灵魔甲=38112,白起-夜都怪侠=38113,阿轲-爱心护理=38114,阿轲-致命风华=38115,艾琳-女武神=38116,安琪拉-玩偶对对碰=38117,安琪拉-如懿=38118,白起-白色死神=38119,白起-无畏之灵·狰=38120,扁鹊-救世之瞳=38121,扁鹊-化身博士=38122,扁鹊-炼金王=38123,曹操-烛龙=38124,程咬金-爱与正义=38125,程咬金-星际陆战队=38126,程咬金-演武夺筹=38127,程咬金-无双福将=38128,达摩-大发明家=38129,达摩-拳王=38130,达摩-星际陆战队=38131,达摩-沙漠行僧=38132,妲己-少女阿狸=38133,妲己-紫罗兰之誓=38134,大乔-守护之力=38135,狄仁杰-阴阳师=38136,狄仁杰-万华元夜=38137,典韦-黄金武士=38138,典韦-铁甲之心=38139,典韦-穷奇=38140,盾山-御銮=38141,盾山-圆桌骑士=38142,干将莫邪-胡桃夹子=38143,高渐离-死亡摇滚=38144,高渐离-玩趣恶龙=38145,宫本武藏-未来纪元=38146,宫本武藏-万象初新=38147,宫本武藏-霸王丸=38148,关羽-龙腾万里=38149,鬼谷子-幻乐之宴=38150,鬼谷子-原初探秘者=38151,韩信-街头霸王=38152,韩信-教廷特使=38153,后羿-阿尔法小队=38154,后羿-圣弓游侠=38155,花木兰-兔女郎=38156,姜子牙-炽热元素使=38157,狂铁-御狮=38158,狂铁-特工战影=38159,老夫子-功夫老勺=38160,老夫子-醍醐杖=38161,李白-敏锐之力=38162,李元芳-黑猫爱糖果=38163,廉颇-无尽征程=38164,刘邦-夺宝奇兵=38165,刘邦-虎啸剑宗=38166,刘备-万事如意=38167,刘备-纽约教父=38168,刘备-汉昭烈帝=38169,刘禅-秘密基地=38170,露娜-哥特玫瑰=38171,露娜-瓷语鉴心=38172,鲁班大师-乓乓大师=38173,鲁班七号-黑桃队长=38174,吕布-猎兽之王=38175,吕布-野性能量=38176,马克波罗-潮玩牛仔=38177,米莱狄-御霄=38178,芈月-红桃皇后=38179,芈月-重明=38180,芈月-幻夜卜梦=38181,明世隐-虹云星官=38182,明世隐-疑决卦=38183,墨子-进击墨子号=38184,墨子-神迹守卫=38185,哪吒-次元突破=38186,牛魔-西部大镖客=38187,牛魔-制霸全明星=38188,牛魔-御旌=38189,女娲-朔望之晖=38190,盘古-重装意志=38191,沈梦溪-鲨炮海盗猫=38192,沈梦溪-星空之诺=38193,苏烈-坚韧之力=38194,苏烈-千军破阵=38195,孙膑-天使之翼=38196,孙膑-妖精王=38197,孙膑-归虚梦演=38198,孙尚香-沉稳之力=38199,孙悟空-美猴王=38200,太乙真人-饕餮=38201,太乙真人-华丽摇滚=38202,王昭君-幻想奇妙夜=38203,武则天-东方不败=38204,夏侯惇-朔风刀=38205,项羽-海滩派对=38206,项羽-职棒王牌=38207,项羽-科学大爆炸=38208,小乔-丁香结=38209,雅典娜-单词大作战=38211,亚瑟-死亡骑士=38212,亚瑟-狮心王=38213,亚瑟-潮玩骑士王=38214,杨戬-次元傲视=38215,弈星-混沌棋=38216,虞姬-凯尔特女王=38217,张飞-五福同心=38218,张良-幽兰居士=38219,张良-缤纷绘卷=38220,赵云-忍·炎影=38221,赵云-嘻哈天王=38222,赵云-白执事=38223,甄姬-花好人间=38224,钟馗-神迹守卫=38225,钟馗-驱傩正仪=38226,钟无艳-海滩丽影=38227,周瑜-赤莲之焰=38228,诸葛亮-掌控之力=38229,猪八戒-西部大镖客=38230,庄周-鲤鱼之梦=38231,庄周-蜃楼王=38232,庄周-奇妙博物学=38233,无=38234,海月-幻泉雾影=41685,蒙犽-归虚梦演=41686,鲁班大师-归虚梦演=41687,西施-归虚梦演=41688,曜-归虚梦演=41689,太乙真人-圆桌骑士=41690,孙悟空-西部大镖客=41691,猪八戒-潮玩探月行=41692,牛魔-牛运亨通=41693,白起-乐园追猎者=41694";
        String yz = biGetWz(yongzhe, accountInfo.getDes());
        if (StringUtils.isNotEmpty(yz)) {
            paramss.put("f15", yz.substring(1));
        }
        if (accountInfo.getLevel().contains("有二次")) {
            paramss.put("f16", "38847");
        } else if (accountInfo.getLevel().contains("无二次")) {
            paramss.put("f16", "38848");
        } else {
            paramss.put("f16", "38855");
        }
        paramss.put("f17", accountInfo.getCampId() == null || accountInfo.getCampId().equals("") ? "123456" : accountInfo.getCampId());
//        paramss.put("f18", "国标");
        paramss.put("f19", "亮点");
        return paramss;
    }

    @Override
    public AjaxResult addGameImg(AccountInfo accountInfo) {
        Map<String, Object> result = new HashMap<>();
        Map<String, Object> params = paramsImg(accountInfo);
//        Map<String, Object> params = new HashMap<>();
//        params.put("aaa",111);
        Map<String, Object> header = new TreeMap<>();
        log.info("虞都新增请求参数={}", params);
        String response = HttpUtil.postRequest("http://192.168.1.7:9091/open/api/pushImg", params, ContentType.APPLICATION_JSON, null, header);
        log.info("虞都新增返回参数={}", MapUntils.unicodeToString(response));
        JSONObject resultJson = JSONObject.parseObject(response);
        String msg = resultJson.getString("msg");
        msg = MapUntils.unicodeToString(msg);
        if (!"200".equals(resultJson.getInteger("code"))) {
            result.put("code", 500);
        } else {
            result.put("code", 200);
        }
        result.put("req", JSONObject.toJSONString(params));
        result.put("res", response);
        result.put("msg", msg);
        return AjaxResult.success(result);
    }

    @Override
    public AjaxResult addGame(AccountInfo accountInfo, String appid, String appSecret) {
        this.appid = appid;
        this.appSecret = appSecret;
//        try {
        String token = getToken();
        System.out.println(token);
        Map<String, Object> result = new HashMap<>();
        Map<String, Object> params = params(accountInfo);
        Map<String, Object> header = new TreeMap<>();
        header.put("token", token);
        System.out.println(header.get("token"));
        Long time = System.currentTimeMillis();
        header.put("timestamp", String.valueOf(time));
        String cover = MapUntils.getCover(params) + appSecret + token + String.valueOf(time);
        System.out.println(cover);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        System.out.println(sign);
        log.info("虞都新增请求参数={}", params);
        String response = HttpUtil.postRequest("http://192.168.1.7:9091/webApi/bd/goods/publish", params, ContentType.APPLICATION_JSON, null, header);
        log.info("虞都新增返回参数={}", MapUntils.unicodeToString(response));
        JSONObject resultJson = JSONObject.parseObject(response);
        String msg = resultJson.getString("msg");
        msg = MapUntils.unicodeToString(msg);
        if (!"200".equals(resultJson.getInteger("code"))) {
            result.put("code", 500);
        } else {
            result.put("code", 200);
        }
        result.put("req", JSONObject.toJSONString(params));
        result.put("res", response);
        result.put("msg", msg);
        return AjaxResult.success(result);
//        } catch (Exception e) {
//            throw new GlobalException(e.getMessage());
//        }
    }

    public static String getCover(Map<String, Object> params) {
        StringBuffer resut = new StringBuffer();
        for (String key : params.keySet()) {
            if (params.get(key) instanceof String && StringUtils.isNotEmpty((String) params.get(key))) {
                resut.append(key + "=" + params.get(key) + "&");
            }
            if (params.get(key) instanceof Boolean) {
                resut.append(key + "=" + params.get(key) + "&");
            }
            if (params.get(key) instanceof Long) {
                resut.append(key + "=" + params.get(key) + "&");
            }
            if (params.get(key) instanceof Integer && null != params.get(key)) {
                resut.append(key + "=" + params.get(key) + "&");
            }
        }
        return resut.toString();
    }

    public static String getCover3(Map<String, Object> params) {
        StringBuffer resut = new StringBuffer();
        TreeSet<String> sortSet = new TreeSet<>(params.keySet()); //排序
        for (String key : sortSet) {
            if (Objects.nonNull(params.get(key)) && StringUtils.isNotEmpty(String.valueOf(params.get(key)))) {
                resut.append(key).append("=").append(params.get(key)).append("&");
            }
        }
        String resutparams = resut.toString();
        return resutparams;
    }

    public static String getCover1(Map<String, String> params) {
        StringBuffer resut = new StringBuffer();
        for (String key : params.keySet()) {
            resut.append(key + "=" + params.get(key) + "&");
        }

        return resut.toString();
    }

    public static void main(String[] args) {
        String token = getToken();
        //String response = getGameAttrTemp(2l,token);
        String response = publish(token);
        //String response = edit(token);
//        String response = on(token);
//        String response = getGameAttrTemp(2l);
        System.out.println(response);
//        JSONArray cfReStr = JSONObject.parseArray(ss);
//        String ff = "";
//        Map fuwuliebiao = new HashMap<>();
//        for (Object o : cfReStr) {
//            String s = JSONObject.toJSONString(o);
//            JSONObject jsonObject1 = JSONObject.parseObject(s);
//            ff = ff + "," + jsonObject1.getString("fieldName").trim() + "=" + jsonObject1.getString("id").trim();
//        }
//
//        System.out.println(ff);

//        String guizu="青铜=37806,白银=37807,黄金=37808,铂金=37809,钻石=37810,星耀=37811,最强王者=37812,无双王者=37813,荣耀王者=37814,传奇王者=37815";
//
////        Map guizuMap=stringTOmap(guizu);
//        String des="BQW1054-安卓Q-贵族积分13204-V6-105英雄-115皮肤-218五级铭文-营地ID:1896010900 -(可二次实名) 4王者印记 1内测 蔷薇恋人 天狼绘梦者 天狼运算者 天狼溯光者 时雨天司 默契交锋女 青龙志 猪悟能 梁祝 苍穹之光 黄金狮子座 原初探秘者 李小龙 猫狗日记男 金属风暴 黄金分割率 逐浪之夏 心灵战警 修罗 功夫厨神 圣诞恋歌 圣诞狂欢 偶像歌手 德古拉伯爵 暗影游猎 云间偶戏 狂想玩偶喵 单词大作战 御銮 朔风刀 混沌棋 疑决卦 醍醐杖 万华元夜 女仆咖啡 霸王丸 科学大爆炸 重装意志";
//        System.out.println(biGetFirst(guizu, des));
//        String response = getGameAttrTemp(4l);
//        System.out.println(response);

    }

    /**
     * 通用 比对方法 取第一个并返回
     *
     * @param str1
     * @param str2
     * @return
     */
    static String biGetFirst(String str1, String str2) {
        String res = "";
        if (StringUtils.isEmpty(str2)) {
            return res;
        }
        String[] str1sz = str1.split(",");
        for (String s : str1sz) {
            String[] str1s = s.split("=");
            if (str2.replace("贵族", "V").toUpperCase().replace("IP", "").replace(":", "").contains(str1s[0])) {
                res = str1s[1];
                break;
            }
        }
        return res;
    }

    static String biGeTLOL(String str1, AccountInfo accountInfo) {
        String fu = "";
        String qu = "";
        if (StringUtils.isEmpty(accountInfo.getRegional())) {
            return fu + "," + qu;
        }
        String[] str1sz = str1.split(",");
        for (String s : str1sz) {
            String[] str1s = s.split("=");
            if (accountInfo.getRegional().contains(str1s[0])) {
                fu = str1s[1].split("&")[0];
                qu = str1s[1].split("&")[1];
            } else {
                if (accountInfo.getDes().contains(str1s[0])) {
                    fu = str1s[1].split("&")[0];
                    qu = str1s[1].split("&")[1];
                }
            }
        }
        return fu + "," + qu;
    }

    static String biGeTCF(String str1, String str2) {
        String fu = "";
        String qu = "";
        if (StringUtils.isEmpty(str2)) {
            return fu + "," + qu;
        }
        String[] str1sz = str1.split(",");
        for (String s : str1sz) {
            String[] str1s = s.split("=");
            if (str2.contains(str1s[0])) {
                fu = str1s[1].split("&")[0];
                qu = str1s[1].split("&")[1];
                break;
            } else {
                fu = "41621";
                qu = "41610";
            }
        }
        return fu + "," + qu;
    }

    static String biGetWz(String str1, String str2) {
        String res = "";
        String pifu = "";
        if (StringUtils.isEmpty(str2)) {
            return res;
        }
        String[] str1sz = str1.split(",");
        for (String s : str1sz) {
            String[] str1s = s.split("=");

            if (str1s[0].contains("-")) {
                pifu = str1s[0].split("-")[1];
            } else {
                pifu = str1s[0];
            }
            if (str2.contains(pifu)) {
                res += "," + str1s[1];
            }
        }
        return res;
    }

    static String biGetTwo(String str1, String str2) {
        String res = "";
        if (StringUtils.isEmpty(str2)) {
            return res;
        }
        String[] str1sz = str1.split(",");
        for (String s : str1sz) {
            String[] str1s = s.split("=");
            if (str2.contains(str1s[0])) {
                res += "," + str1s[1];
            }
        }
        return res;
    }

    //下架
    public static String off(String token) {
        String url = "http://192.168.1.7:9091/webApi/bd/goods/off";
        Long time = System.currentTimeMillis();
        Map<String, Object> header = new TreeMap<>();
        header.put("token", token);
        header.put("timestamp", time);
        Map<String, Object> paramss = new TreeMap<>();
        paramss.put("goodsId", 55);
        String cover = MapUntils.getCover(paramss) + appSecret + token + String.valueOf(time);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        String response = HttpUtil.postRequest(url, paramss, ContentType.APPLICATION_JSON, null, header);
        return response;
    }

    //上架
    public static String on(String token) {
        String url = "http://192.168.1.7:9091/webApi/bd/goods/on";
        Long time = System.currentTimeMillis();
        Map<String, Object> header = new TreeMap<>();
        header.put("token", token);
        header.put("timestamp", time);
        Map<String, Object> paramss = new TreeMap<>();
        paramss.put("goodsId", 55);
        String cover = MapUntils.getCover(paramss) + appSecret + token + String.valueOf(time);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        String response = HttpUtil.postRequest(url, paramss, ContentType.APPLICATION_JSON, null, header);
        return response;
    }

    //改价
    public static String edit(String token) {
        String url = "http://192.168.1.7:9091/webApi/bd/goods/edit";
        Long time = System.currentTimeMillis();
        Map<String, Object> header = new TreeMap<>();
        header.put("token", token);
        header.put("timestamp", time);
        Map<String, Object> paramss = new TreeMap<>();
        paramss.put("goodsId", 55);
        paramss.put("price", new BigDecimal(200));
        paramss.put("des", "asdasdsadasdasdasdasdas");
        String cover = MapUntils.getCover(paramss) + appSecret + token + String.valueOf(time);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        String response = HttpUtil.postRequest(url, paramss, ContentType.APPLICATION_JSON, null, header);
        return response;
    }

    //添加商品
    public static String publish(String token) {
        String url = "http://backv2.maihaoyou.com/webApi/bd/goods/publish";
        Map<String, Object> paramss = new TreeMap<>();
        paramss.put("accountNumber", "admintest002");
        paramss.put("gameId", 2);
        paramss.put("gameType","0");
        paramss.put("systemId", 38240);
        paramss.put("carrierId", 38244);
        paramss.put("groupId", 38248);
        paramss.put("serverId",41684);
        paramss.put("thirdId","000149");
        paramss.put("title", "HX000149号 【】 游戏编号：WZRY服务器：英雄数量：皮肤数量：内测皮肤：妄想食味,优雅恋人贵族限定：觅芳踪,启明星使,魔术师荣耀典藏：弑枪猎影,活力突击,大秦宣太后无双皮肤：时之魔女,神器明辉仪星元皮肤：苍灵仙君,玉鸾吟,时之羁绊,零号雷霆,无限倾慕,时之祈愿,星际治安官年限皮肤：乘龙·问璇玑,乘龙·铭钟鼎,山海·苍雷引,乘龙·淬吴钩,乘龙·聚宝船,山海·碧波行,山海·玄木吟,祈雪灵祝情");
        paramss.put("titleImg", "https://obs-sdzz.cucloud.cn/shandongwanqu/4617e215376a4a7cbedad257b70be167.jpg");
        paramss.put("price", new BigDecimal(979997));
        paramss.put("des", "HX000149号 【】 游戏编号：WZRY服务器：英雄数量：皮肤数量：内测皮肤：妄想食味,优雅恋人贵族限定：觅芳踪,启明星使,魔术师荣耀典藏：弑枪猎影,活力突击,大秦宣太后无双皮肤：时之魔女,神器明辉仪星元皮肤：苍灵仙君,玉鸾吟,时之羁绊,零号雷霆,无限倾慕,时之祈愿,星际治安官年限皮肤：乘龙·问璇玑,乘龙·铭钟鼎,山海·苍雷引,乘龙·淬吴钩,乘龙·聚宝船,山海·碧波行,山海·玄木吟,祈雪灵祝情人节限定：海诺_心动手记,朵莉亚_心动手记,安琪拉_追逃游戏,虞姬_无限倾心,挚爱之约,花木兰_默契交锋珍稀皮肤：夜都魔契,超元猎域,霜月吟,天降福星,上官婉儿_妄想奇谈,画中仙传说皮肤：马超_琥珀纪元,云中君_群星魔术团,黄金天蝎座,落雪白狼,金乌负日年赛皮肤：S20-S25赛季王者皮肤KPL限定：逐梦之光排位皮肤：战令限定：大国标：小国标：贵族等级：V9特殊皮肤：王者荣耀：V3实名情况：可二次实名本人实名：是本人实名情况测试：");

        List<JSONObject> list = new ArrayList<>();


        paramss.put("imgUrls","https://obs-sdzz.cucloud.cn/shandongwanqu/5e85ee6e8665402e99558251204f0016.png,https://obs-sdzz.cucloud.cn/shandongwanqu/0bba05266a0f42c7bb1a137ab5235f29.png,https://obs-sdzz.cucloud.cn/shandongwanqu/f048f53dcffd4a1b891c954f3e03e15f.png,https://obs-sdzz.cucloud.cn/shandongwanqu/ab717d22f70145809e735aa6f337d903.png,https://obs-sdzz.cucloud.cn/shandongwanqu/e05d3648155544c3abfd675ecaab45bb.png,https://obs-sdzz.cucloud.cn/shandongwanqu/239071369fd3448e85e365a21add840c.png,https://obs-sdzz.cucloud.cn/shandongwanqu/320df872b6f54dfa9f09a235925d4755.png,https://obs-sdzz.cucloud.cn/shandongwanqu/9d9ce84f66c242f38228a312a66b7213.png,https://obs-sdzz.cucloud.cn/shandongwanqu/3bfa1eaacf8242949c115107d477770b.png,https://obs-sdzz.cucloud.cn/shandongwanqu/5a0cc0666ca242fe805fea2346ddcf70.png,https://obs-sdzz.cucloud.cn/shandongwanqu/ba209c86449446f18208d93426092bf0.png,https://obs-sdzz.cucloud.cn/shandongwanqu/487ca4129d254c56940673335f560454.png,https://obs-sdzz.cucloud.cn/shandongwanqu/05883f8044564feba46496d77add2bae.png,https://obs-sdzz.cucloud.cn/shandongwanqu/78594edfbaec42f0aded71da5d917340.png,https://obs-sdzz.cucloud.cn/shandongwanqu/f98f92318f78423397ef0949f13b3a1b.png,https://obs-sdzz.cucloud.cn/shandongwanqu/8b2c0e7c442c4906ac2e33986c5ba0c7.png,https://obs-sdzz.cucloud.cn/shandongwanqu/84494be80ed14e7e98d1adf3a0836bda.png,https://obs-sdzz.cucloud.cn/shandongwanqu/f7357db1046d44ac92051a087d51eacd.png,https://obs-sdzz.cucloud.cn/shandongwanqu/08d63809d6044b59bad6b62250d23583.png,https://obs-sdzz.cucloud.cn/shandongwanqu/8984db612200499dac9e7126602e4fff.png,https://obs-sdzz.cucloud.cn/shandongwanqu/2c7c08f7cb844210aa4e3eed162bc141.png,https://obs-sdzz.cucloud.cn/shandongwanqu/a087d6a4c92847aa85d213965d7ffb20.png,https://obs-sdzz.cucloud.cn/shandongwanqu/fbf8e81124f84484a1b7d0b3360a5e54.png,https://obs-sdzz.cucloud.cn/shandongwanqu/c0c7a44e9d684cda9bf8ce14349b09fa.png,https://obs-sdzz.cucloud.cn/shandongwanqu/5d1c182fad0f4464b68c1422ad14e596.png,https://obs-sdzz.cucloud.cn/shandongwanqu/d942825981024c2e93cb2909d1425cae.png,https://obs-sdzz.cucloud.cn/shandongwanqu/97b664dbb043434082a5ad8782f5ace2.png,https://obs-sdzz.cucloud.cn/shandongwanqu/ee7edf41c3ed43adaf1902c8f4da4eac.png,https://obs-sdzz.cucloud.cn/shandongwanqu/5c7dfa9fed054cedbdac1020db7af0f3.png,https://obs-sdzz.cucloud.cn/shandongwanqu/9778d08d26504c1ba1c092ee2e51d88a.png,https://obs-sdzz.cucloud.cn/shandongwanqu/ef6ab93f84cd4276b5d84612b9c5a0eb.png,https://obs-sdzz.cucloud.cn/shandongwanqu/1509d331b9424b2cacaef3f97162f127.png,https://obs-sdzz.cucloud.cn/shandongwanqu/7a493f09575947b787d3f430776725d1.png,https://obs-sdzz.cucloud.cn/shandongwanqu/372484f414594adcb7de15beeb940333.png,https://obs-sdzz.cucloud.cn/shandongwanqu/cabd074a82c846c587ad98155025bd15.png,https://obs-sdzz.cucloud.cn/shandongwanqu/73d0353216c3451f8b9ff8394d67ac55.png,https://obs-sdzz.cucloud.cn/shandongwanqu/83420b07c2054cdf8a430d42ed674469.png,https://obs-sdzz.cucloud.cn/shandongwanqu/0bbcf1a16cef4fa2bfd8119c6ef6ccf1.png,https://obs-sdzz.cucloud.cn/shandongwanqu/4ecaed34e443477196f27d5b817313e8.png,https://obs-sdzz.cucloud.cn/shandongwanqu/c3a23e78e7ed48cfa7dd1f7a9e1aecc4.png,https://obs-sdzz.cucloud.cn/shandongwanqu/3f5a6d61a6bb4d9aa6753a90af7e564b.png,https://obs-sdzz.cucloud.cn/shandongwanqu/d81bd2192e3848c4a5ad9cc9f8b06f9d.png,https://obs-sdzz.cucloud.cn/shandongwanqu/1b58f45015d246bfad4207812c022edc.png,https://obs-sdzz.cucloud.cn/shandongwanqu/30d4e400347340b09af4462def6a48a5.png,https://obs-sdzz.cucloud.cn/shandongwanqu/fd00276a96594a84b75b6a64ac9454e7.png,https://obs-sdzz.cucloud.cn/shandongwanqu/b1ac61d0539a47a491323520f3cde9fa.png,https://obs-sdzz.cucloud.cn/shandongwanqu/23f52f9602f54296975117a0b7303e00.png,https://obs-sdzz.cucloud.cn/shandongwanqu/381eda5a48bd438fb223820d6f888ded.png");
//        paramss.put("f1", "30");
        paramss.put("f2", "41708");
//        paramss.put("f3", "37806");
//        paramss.put("f4", "10000");
        paramss.put("f5", "37825");
//        paramss.put("f6", "10");
//        paramss.put("f7", "100");
//        paramss.put("f8", "200");
        paramss.put("f9", "37828,41786,41787,45981");
        paramss.put("f10", "37843,37851,46011");
        paramss.put("f11", "37866,37910,37918,37971,37983,38008,46797");
        paramss.put("f12", "38093,46014,46019,46020");
//        paramss.put("f13", "20");
//        paramss.put("f14", "38237");
        paramss.put("f15", "38116,38145");
        paramss.put("f16", "38847,38849,38855");
        paramss.put("f20", "46022");
        Map<String, Object> header = new TreeMap<>();
        header.put("token",token);
        Long time = System.currentTimeMillis();
        header.put("timestamp",String.valueOf(time));
        String cover = MapUntils.getCover(paramss) + "ff8080818a6fc86b018a92ae72830a94" + token + String.valueOf(time);
        System.out.println(cover);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign",sign);
        String response = HttpUtil.postRequest(url,paramss,ContentType.APPLICATION_JSON,null,header);
        return response;
    }

    //获取token
    public static String getToken() {
        String url = "http://backv2.maihaoyou.com/webApi/api_token";
//        JSONObject params = new JSONObject();
//        JSONObject action = new JSONObject();
        Map<String, String> params = new TreeMap<>();
        long timestamp = System.currentTimeMillis();
        String cover = timestamp + "wanquyou" + "ff8080818a6fc86b018a92ae72830a94";
        String sign = DigestUtils.md5Hex(cover);
        params.put("timestamp", String.valueOf(timestamp));
        params.put("sign", sign);
        Map<String, String> action1 = new TreeMap<>();
        action1.put("appId", "wanquyou");
        String response = HttpUtil.doGet(url, action1, params);
        String data = JSONObject.parseObject(response).getString("data");
        String token = JSONObject.parseObject(data).getString("token");
        return token;
    }

    //获取游戏列表
    public static String getGameList() {
        String url = "http://192.168.1.22:9091/webApi/gameList";
        long timestamp = System.currentTimeMillis();
        String token = getToken();
        Map<String, String> header = new TreeMap<>();
        Map<String, String> action = new HashMap<>();
//        action.put("gameId", String.valueOf(gameId));
        header.put("token", token);
        header.put("timestamp", String.valueOf(timestamp));
        String cover = getCover1(action) + appSecret + token + timestamp;
        log.info("加密前请求参数={}", cover);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        String response = HttpUtil.doGet(url, action, header);
        return response;
    }

    //获取游戏基本信息
    public static String getGameInfo(Long gameId) {
        String url = "http://back.yududs.com/webApi/bd/gameInfo/";
        long timestamp = System.currentTimeMillis();
        String token = getToken();
        Map<String, String> header = new TreeMap<>();
        Map<String, String> action = new HashMap<>();
        action.put("gameId", String.valueOf(gameId));
        header.put("token", token);
        header.put("timestamp", String.valueOf(timestamp));
        String cover = getCover1(action) + appSecret + token + timestamp;
        log.info("加密前请求参数={}", cover);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        String response = HttpUtil.doGet(url + String.valueOf(gameId), action, header);
        return response;
    }

    //获取游戏属性
    public static String getGameAttrTemp(Long gameId) {
        String url = "http://back.yududs.com/webApi/gameAttrTemp/";
        long timestamp = System.currentTimeMillis();
        Map<String, String> header = new TreeMap<>();
        Map<String, String> action = new HashMap<>();
        String token = getToken();
        action.put("gameId", String.valueOf(gameId));
        header.put("token", token);
        header.put("timestamp", String.valueOf(timestamp));
        String cover = getCover1(action) + "2c91c8d58823fce20188284156bb05f5" + token + timestamp;
        log.info("加密前请求参数={}", cover);
        String sign = DigestUtils.md5Hex(cover);
        header.put("sign", sign);
        System.out.println("sign=====" + sign);
        String response = HttpUtil.doGet(url + String.valueOf(gameId), action, header);
        return response;
    }

    /**
     * String字符串的值 =号拼接 转Map
     *
     * @param b
     * @return
     */
    static Map stringTOmap(String b) {
        Map docType = new HashMap();
        StringTokenizer items;
        for (StringTokenizer entrys = new StringTokenizer(b, ","); entrys.hasMoreTokens();
             docType.put(items.nextToken(), items.hasMoreTokens() ? ((Object) (items.nextToken())) : null)) {
            items = new StringTokenizer(entrys.nextToken(), "=");
        }
        return docType;
    }
}
